------- Additional Comments From christian dot joensson at gmail dot com 2005-03-19 15:18 ------- [EMAIL PROTECTED] branch]$ /usr/local/src/branch/objdir32/gcc/xgcc -v -save-temps -B/usr/local/src/branch/objdir32/gcc/ -O1 -w -c -o 20011119-2.o /usr/local/src/branch/gcc/gcc/testsuite/gcc.c- torture/compile/20011119-2.c Reading specs from /usr/local/src/branch/objdir32/gcc/specs Target: sparc-linux Configured with: /usr/local/src/branch/gcc/configure sparc-linux --enable-__cxa_atexit --disable-multilib --enable-shared --enable-languages=c,ada,c++ Thread model: posix gcc version 4.0.0 20050318 (prerelease) /usr/local/src/branch/objdir32/gcc/cc1 -E -quiet -v -iprefix /usr/local/src/branch/objdir32/gcc/../lib/gcc/sparc-linux/4.0.0/ -isystem /usr/local/src/branch/objdir32/gcc/include /usr/local/src/branch/gcc/gcc/testsuite/gcc.c-torture/compile/20011119-2.c -mcpu=v7 -w -O1 -fpch-preprocess -o 20011119-2.i ignoring nonexistent directory "/usr/local/src/branch/objdir32/gcc/../lib/gcc/sparc-linux/4.0.0/include" ignoring nonexistent directory "/usr/local/src/branch/objdir32/gcc/../lib/gcc/sparc- linux/4.0.0/../../../../sparc-linux/include" ignoring nonexistent directory "NONE/include" ignoring nonexistent directory "/usr/local/lib/gcc/sparc-linux/4.0.0/include" ignoring nonexistent directory "/usr/local/lib/../sparc-linux/include" #include "..." search starts here: #include <...> search starts here: /usr/local/src/branch/objdir32/gcc/include /usr/local/include /usr/include End of search list. /usr/local/src/branch/objdir32/gcc/cc1 -fpreprocessed 20011119-2.i -quiet -dumpbase 20011119-2.c -mcpu=v7 -auxbase-strip 20011119-2.o -O1 -w -version -o 20011119-2.s GNU C version 4.0.0 20050318 (prerelease) (sparc-linux) compiled by GNU C version 4.0.0 20050318 (prerelease). GGC heuristics: --param ggc-min-expand=47 --param ggc-min-heapsize=31992 /usr/local/src/branch/gcc/gcc/testsuite/gcc.c-torture/compile/20011119-2.c:4: internal compiler error: in cgraph_expand_function, at cgraphunit.c:837 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. [EMAIL PROTECTED] branch]$ cat 20011119-2.s
.file "20011119-2.c" .section ".text" .align 4 .global bar .type bar, #function .proc 04 bar: jmp %o7+8 mov 23, %o0 .size bar, .-bar .align 4 .global baz .type baz, #function .proc 04 baz: save %sp, -104, %sp call foo, 0 nop jmp %i7+8 restore %g0, %o0, %o0 .size baz, .-baz [EMAIL PROTECTED] branch]$ cat 20011119-2.i # 1 "/usr/local/src/branch/gcc/gcc/testsuite/gcc.c-torture/compile/20011119- 2.c" # 1 "<built-in>" # 1 "<command line>" # 1 "/usr/local/src/branch/gcc/gcc/testsuite/gcc.c-torture/compile/20011119- 2.c" extern inline int foo (void) { return 23; } int bar (void) { return foo (); } extern int foo (void) __attribute__ ((weak, alias ("xxx"))); int baz (void) { return foo (); } int xxx(void) __asm__("xxx"); int xxx(void) { return 23; } [EMAIL PROTECTED] branch]$ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20553