Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /te st/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/20010119-1.c -w -Os -fno-s how-column -lm -o /test/gnu/gcc/objdir/gcc/testsuite/gcc/20010119-1.x7 (ti meout = 300) /usr/ccs/bin/ld: Unsatisfied symbols: foo (first referenced in /var/tmp//ccUSmh7j.o) (code) collect2: ld returned 1 exit status compiler exited with status 1 output is: /usr/ccs/bin/ld: Unsatisfied symbols: foo (first referenced in /var/tmp//ccUSmh7j.o) (code) collect2: ld returned 1 exit status FAIL: gcc.c-torture/execute/20010119-1.c compilation, -Os UNRESOLVED: gcc.c-torture/execute/20010119-1.c execution, -Os This is the assembly code generated on hppa2.0w-hp-hpux11.11: # less 20010119-1.s .LEVEL 1.1 .SPACE $PRIVATE$ .SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=31 .SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=31,ZERO,SORT=82 .SPACE $TEXT$ .SUBSPA $LIT$,QUAD=0,ALIGN=8,ACCESS=44 .SUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY .IMPORT $global$,DATA .IMPORT $$dyncall,MILLICODE .SPACE $TEXT$ .NSUBSPA $CODE$ .align 4 .EXPORT bar,ENTRY,PRIV_LEV=3,ARGW0=GR bar: .PROC .CALLINFO FRAME=0,NO_CALLS .ENTRY bv,n %r0(%r2) .EXIT .PROCEND .SPACE $TEXT$ .NSUBSPA $CODE$ .align 4 .EXPORT baz,ENTRY,PRIV_LEV=3,ARGW0=GR baz: .PROC .CALLINFO FRAME=0,NO_CALLS .ENTRY bv,n %r0(%r2) .EXIT .PROCEND .SPACE $TEXT$ .NSUBSPA $CODE$ .align 4 .EXPORT main,ENTRY,PRIV_LEV=3,RTNVAL=GR main: .PROC .CALLINFO FRAME=64,CALLS,SAVE_RP .ENTRY stw %r2,-20(%r30) ldi 10,%r26 ldo 64(%r30),%r30 .CALL ARGW0=GR,ARGW1=GR bl foo,%r2 ldi 100,%r25 .CALL ARGW0=GR bl exit,%r2 ldi 0,%r26 nop .EXIT .PROCEND .IMPORT exit,CODE .IMPORT foo,CODE This failure appears to have been introduced after revision 127629 and before or in revision 127680.
This should have been fixed by: 2007-08-22 Richard Guenther <rguenther@suse.de> * tree-inline.c (inlinable_function_p): Restore disregarding inline limits for GNU extern inline functions.
Indeed.
Fixed.