From: No Author Date: Thu, 25 Mar 2004 22:36:10 +0000 (+0000) Subject: This commit was manufactured by cvs2svn to create branch X-Git-Tag: releases/gcc-3.3.4~129 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66a44780ba6cb4c61c555979bb67e2e22b1ad6cc;p=thirdparty%2Fgcc.git This commit was manufactured by cvs2svn to create branch 'gcc-3_3-branch'. From-SVN: r79967 --- diff --git a/gcc/config/sparc/t-linux b/gcc/config/sparc/t-linux new file mode 100644 index 000000000000..30a3ccaf83a5 --- /dev/null +++ b/gcc/config/sparc/t-linux @@ -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 index 000000000000..af5e0b4820cb --- /dev/null +++ b/gcc/testsuite/gcc.dg/20040322-1.c @@ -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" } */