target/8085: Regression: mips-sgi-irix6.5 failure in execute/921117-1.c w/-O2

ghazi@caip.rutgers.edu ghazi@caip.rutgers.edu
Sat Sep 28 18:15:00 GMT 2002


>Number:         8085
>Category:       target
>Synopsis:       Regression: mips-sgi-irix6.5 failure in execute/921117-1.c w/-O2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          wrong-code
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 28 18:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Kaveh Ghazi
>Release:        gcc version 3.3 20020927 (experimental)
>Organization:
>Environment:
mips-sgi-irix6.5
>Description:
Testsuite regression, see:

http://gcc.gnu.org/ml/gcc-testresults/2002-09/msg00882.html
http://gcc.gnu.org/ml/gcc-testresults/2002-09/msg00901.html

The resulting executable fails it's own test on line 20 and calls abort().  With gdb, I see that the parameter p contains garbage:

(gdb) break check
Breakpoint 1 at 0x10001374: file execute/921117-1.c, line 9.
(gdb) run
Starting program: /caip/u58/ghazi/gcc-testing/egcc-CVS20020927/gcc/testsuite/gcc.c-torture/a.out

Breakpoint 1, check (p={text = "\0\0\0\0\0\0\0\089", flag = 0})
    at execute/921117-1.c:9
9         if (p.flag != 99)
(gdb) cont
Continuing.

Program received signal SIGABRT, Aborted.



>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list