]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
This commit was manufactured by cvs2svn to create branch
authorNo Author <no-author@gcc.gnu.org>
Thu, 25 Mar 2004 22:36:10 +0000 (22:36 +0000)
committerNo Author <no-author@gcc.gnu.org>
Thu, 25 Mar 2004 22:36:10 +0000 (22:36 +0000)
'gcc-3_3-branch'.

From-SVN: r79967

gcc/config/sparc/t-linux [new file with mode: 0644]
gcc/testsuite/gcc.dg/20040322-1.c [new file with mode: 0644]

diff --git a/gcc/config/sparc/t-linux b/gcc/config/sparc/t-linux
new file mode 100644 (file)
index 0000000..30a3cca
--- /dev/null
@@ -0,0 +1,2 @@
+# Compile libgcc2.a with pic and IEEE quad long double.
+TARGET_LIBGCC2_CFLAGS = -fPIC -mlong-double-128
diff --git a/gcc/testsuite/gcc.dg/20040322-1.c b/gcc/testsuite/gcc.dg/20040322-1.c
new file mode 100644 (file)
index 0000000..af5e0b4
--- /dev/null
@@ -0,0 +1,4 @@
+/* PR c/14069 */
+/* { dg-do compile } */
+struct S { int a; char b[]; char *c; }; /* { dg-error "error" "flexible array member not" } */
+struct S s = { .b = "foo", .c = .b }; /* { dg-error "error" "parse error before" } */