http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51280
--- Comment #3 from Patrick Marlier <patrick.marlier at gmail dot com> 2011-12-10 03:35:38 UTC --- Created attachment 26040 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26040 testcase for gnu-tm Well, I don't know why I can't reproduce it for openmp. I will try to have a look at it next week. At least, attached the testcase for trans-mem. $ ./xgcc -B. -fgnu-tm -flto -c lto.c -o lto.o $ ./xgcc -B. -flto -o lto lto.o lto1: internal compiler error: in streamer_get_builtin_tree, at tree-streamer-in.c:1056 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. lto-wrapper: ./xgcc returned 1 exit status /usr/bin/ld: lto-wrapper failed collect2: error: ld returned 1 exit status Patrick.