Bug 33154 - [4.3 Regression] FAIL: gcc.c-torture/execute/20010119-1.c compilation, -Os
Summary: [4.3 Regression] FAIL: gcc.c-torture/execute/20010119-1.c compilation, -Os
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: tree-optimization (show other bugs)
Version: 4.3.0
: P3 normal
Target Milestone: 4.3.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-23 00:00 UTC by John David Anglin
Modified: 2007-08-29 00:00 UTC (History)
1 user (show)

See Also:
Host: hppa*-*-*
Target: hppa*-*-*
Build: hppa*-*-*
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John David Anglin 2007-08-23 00:00:44 UTC
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.
Comment 1 Andrew Pinski 2007-08-23 00:06:25 UTC
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.
Comment 2 Richard Biener 2007-08-23 08:56:57 UTC
Indeed.
Comment 3 John David Anglin 2007-08-23 13:25:44 UTC
Fixed.