Subject gcc testsuite testcase gcc.c-torture/compile/20010327-1.c
Kai Tietz
Kai.Tietz@onevision.com
Mon Mar 31 09:55:00 GMT 2008
"Andrew Pinski" <pinskia@gmail.com> wrote on 31.03.2008 07:13:02:
> On Fri, Mar 28, 2008 at 7:17 AM, Kai Tietz <Kai.Tietz@onevision.com>
wrote:
> > Hello,
> >
> > This testcase seems to be broken, because it will fail everytime for
the
> > static variable x. gcc detects, that this static variable has no
reference
> > and will produce a warning.
>
> gcc.c-torture/compile is compiled with -w so the warnings are ignored.
I see, the reason for the failure on x86_64-pc-mingw32 is that gcc
reports, that the initializer element is not constant. For some reason it
assumes, that the address of the extern variable has no fixed address.
Kai
| (\_/) This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.
More information about the Gcc
mailing list