"Andrew Pinski" <[EMAIL PROTECTED]> wrote on 31.03.2008 07:13:02:
> On Fri, Mar 28, 2008 at 7:17 AM, Kai Tietz <[EMAIL PROTECTED]>
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.