[reg...@gamow tmp282]$ current-gcc -O2 small.c small.c: In function 'int327': small.c:29:1: internal compiler error: in may_propagate_copy, at tree-ssa-copy.c:85 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.
[reg...@gamow tmp282]$ current-gcc -v Using built-in specs. COLLECT_GCC=current-gcc COLLECT_LTO_WRAPPER=/uusoc/exports/scratch/regehr/z/compiler-install/gcc-r157419-install/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../configure --with-libelf=/usr/local --enable-lto --prefix=/home/regehr/z/compiler-install/gcc-r157419-install --program-prefix=r157419- --enable-languages=c,c++ Thread model: posix gcc version 4.5.0 20100313 (experimental) (GCC) [reg...@gamow tmp282]$ cat small.c unsigned char g_17; const unsigned char func_39 (unsigned char p_40, unsigned char * p_41) { return 0; } void int327 (const unsigned char p_48, unsigned char p_49) { unsigned l_52; unsigned char l_58[2]; int i, j; if (func_39 (l_52, &p_49), p_48) { unsigned char *l_60; unsigned char *l = &l_58[1]; for (j; j; j++) { lbl_59: break; } for (l = 0; 1; l += 1) { for (p_49 = 1; p_49; p_49 += 0) { unsigned char **l_61[1][6]; for (j = 0; j < 1; j++) l_61[i][j] = &l_60; goto lbl_59; } } } } -- Summary: ice: in may_propagate_copy, at tree-ssa-copy.c:85 Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: regehr at cs dot utah dot edu GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43367