reg...@john-home:~/volatile/tmp173$ current-gcc -c -Wall -O2 small.c small.c: In function func_150: small.c:65: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.
reg...@john-home:~/volatile/tmp173$ current-gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../configure --prefix=/home/regehr/z/tmp/gcc-r149650-install --program-prefix=r149650- --enable-languages=c,c++ Thread model: posix gcc version 4.5.0 20090714 (experimental) (GCC) reg...@john-home:~/volatile/tmp173$ cat small.c struct S0 { signed char f0; signed char f4; }; struct S0 g_19 = { 7L, 0L }; struct S0 g_39 = { 0L, 0x49L }; struct S0 g_90 = { 1L, 0 }; signed char g_125; signed char g_198; signed char g_218; signed char func_17 (int p_18, struct S0 p_20, signed char p_22, signed char p_24) { return p_20.f0; } signed char func_61 (int p_63, signed char p_64, signed char p_65) { return 0; } struct S0 func_176 (int p_178, int p_179) { return g_90; } struct S0 func_160 (int p_161, int p_163) { struct S0 l_240 = { 9L, 0L }; if (func_17 (1, func_176 (g_218, 1), 1, 1)) { struct S0 l_253 = { 0xE0, 0xB4L }; return l_253; } return l_240; } struct S0 func_150 (int p_151, signed char p_153, signed char p_154, signed char p_155) { signed char l_156 = 0; signed char l_266 = 0; if (func_17 (func_61 (g_125, l_156, func_61 (1, func_17 (1, func_160 (l_266, g_90.f4), p_153, 1), 1)), func_176 (g_39.f0, 1), 1, 1)) { g_198 = 1; } return g_19; } -- Summary: segfault 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: 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=40759