When the attached code is compiled as follows, an ICE will result: dogbert> gcc -O1 -funsafe-math-optimizations -c h.c h.c: In function ‘Q’: h.c:10: internal compiler error: in tsi_link_before, at tree-iterator.c:113 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. dogbert> gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc/configure --prefix=/usr/local/gcc410 --enable-languages=c,c++,f95 Thread model: posix gcc version 4.1.0 20050605 (experimental)
This bug only appears on the mainline, but not in any of the release branches. -- Summary: internal compiler error: in tsi_link_before, at tree- iterator.c:113 Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: p dot van-hoof at qub dot ac dot uk CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21921