On 3 March 2015 at 11:44, Patrick Welche <[email protected]> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19449 > > trunk/gcc/testsuite/gcc.c-torture/execute/pr19449.c > > passes, but Ryan Lortie's test case doesn't => sounds like a gcc bug. > > So what should we do? Work around it? Stick to clang? >
The external buildrump.sh script https://github.com/rumpkernel/buildrump.sh seems to work fine with -O0 with gcc (on NetBSD 7) - maybe it doesnt compile that bit of code? ./buildrump.sh -s /usr/src -F ACLFLAGS=-O0 will build -O0 -g version. I fixed the issues that had with -O0 a while back and I use it a fair amount. Justin
