http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037

--- Comment #1 from Jack Howarth <howarth at nitro dot med.uc.edu> 2010-10-16 
01:23:58 UTC ---
Created attachment 22058
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22058
preprocessed source for libcpp/lex.c

The attached preprocessed source, lex.i, for libcpp/lex.c provides an example
of the code which triggers the bootstrap-lto failures on darwin....

/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./prev-gcc/xgcc
-B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./prev-gcc/
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/bin/
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/bin/
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/lib/ -isystem
/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/include -isystem
/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/sys-include
-I../../gcc-4.6-20101014/libcpp -I. -I../../gcc-4.6-20101014/libcpp/../include
-I../../gcc-4.6-20101014/libcpp/include -I/sw/include -g -O2 -W -Wall
-Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wc++-compat -pedantic
-Wno-long-long -Werror -I../../gcc-4.6-20101014/libcpp -I.
-I../../gcc-4.6-20101014/libcpp/../include
-I../../gcc-4.6-20101014/libcpp/include -I/sw/include -flto -c -o lex.o -MT
lex.o -MMD -MP -MF .deps/lex.Tpo lex.i
../../gcc-4.6-20101014/libcpp/lex.c:2838:1: sorry, unimplemented: gimple
bytecode streams do not support the optimization attribute

The same error appears when -fwhopr or -fwhopr=jobserver is used instead of
-flto.

Reply via email to