summaryrefslogtreecommitdiff
path: root/debian/patches/gccgo-issue16780.diff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-05-13 13:54:49 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-05-13 13:54:49 +0300
commit42156b5190f4fa150e1fab6777eb81e69d4db8c9 (patch)
tree3bf47de81cf1f89892789535a036d2d55d93a136 /debian/patches/gccgo-issue16780.diff
downloadgcc-6-42156b5190f4fa150e1fab6777eb81e69d4db8c9.tar.gz
Imported gcc-6 (6.3.0-17)debian/6.3.0-17debian
Diffstat (limited to 'debian/patches/gccgo-issue16780.diff')
-rw-r--r--debian/patches/gccgo-issue16780.diff39
1 files changed, 39 insertions, 0 deletions
diff --git a/debian/patches/gccgo-issue16780.diff b/debian/patches/gccgo-issue16780.diff
new file mode 100644
index 0000000..baecac5
--- /dev/null
+++ b/debian/patches/gccgo-issue16780.diff
@@ -0,0 +1,39 @@
+# DP: gccgo: Call default_file_start from s390_asm_file_start
+
+https://gcc.gnu.org/ml/gcc-patches/2016-08/msg01655.html
+
+gcc/
+
+2016-08-23 Ian Lance Taylor <iant@golang.org>
+
+ * config/s390/s390.c (s390_asm_file_start): Call
+ default_file_start.
+
+gcc/testsuite/
+
+2016-08-23 Ian Lance Taylor <iant@golang.org>
+
+ * gcc.target/s390/nolrl-1.c: Don't match the file name.
+
+Index: b/src/gcc/config/s390/s390.c
+===================================================================
+--- a/src/gcc/config/s390/s390.c
++++ b/src/gcc/config/s390/s390.c
+@@ -14973,6 +14973,7 @@ s390_vector_alignment (const_tree type)
+ static void
+ s390_asm_file_start (void)
+ {
++ default_file_start ();
+ s390_asm_output_machine_for_arch (asm_out_file);
+ }
+ #endif
+Index: b/src/gcc/testsuite/gcc.target/s390/nolrl-1.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.target/s390/nolrl-1.c
++++ b/src/gcc/testsuite/gcc.target/s390/nolrl-1.c
+@@ -16,4 +16,4 @@ bar ()
+ foo (z);
+ }
+
+-/* { dg-final { scan-assembler-not "lrl" } } */
++/* { dg-final { scan-assembler-not "\tlrl" } } */