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. Thanks, Duncan. PS: $ 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 _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits