[llvm-commits] [llvm-gcc-4.2] r41761 - /llvm-gcc-4.2/trunk/gcc/c-typeck.c

Duncan Sands baldrick at free.fr
Sat Sep 8 05:08:44 PDT 2007

Hi Bill,

> > > A variable that's constant in a constructor shouldn't make the
> > > constructor itself non-constant.
> >
> > does the testcase fail with 4.2?
> I assumed that it did, but I'm not sure. Would you test it for me? I'm
> not able to build 4.2 at this time.

the testcase passes with llvm-gcc-4.2 without your patch, so can you please
revert it.




$ llvm-gcc -xc -Os pr1641.c
pr1641.c:8:30: warning: multi-character character constant
/usr/lib/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
/tmp/cc18qp8n.o: In function `bork':
(.text+0x14): undefined reference to `bar'
collect2: ld returned 1 exit status

More information about the llvm-commits mailing list