http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57329
Bug ID: 57329 Summary: ICE with -O2 and -mthumb Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: Martin.Jansa at gmail dot com Created attachment 30146 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30146&action=edit pixman-ice.c Hi, when compiling pixman for armv4t or armv5te with thumb enabled I've noticed ICE, disabling thumb or O2 is enough to build it without ICE. $ arm-oe-linux-gnueabi-gcc -march=armv5te -mthumb -O2 -c pixman-ice.c -o pixman-ice.o pixman-ice.c: In function 'prng_srand_r': pixman-ice.c:113:1: internal compiler error: Segmentation fault } ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. pixman-ice.c and preprocessed pixman-ice.E attached.