Bug 19332 - [4.0 Regression] FAIL: gcc.c-torture/execute/20040709-[12].c execution, -O2 and -O1
Summary: [4.0 Regression] FAIL: gcc.c-torture/execute/20040709-[12].c execution, -O2 ...
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 4.0.0
: P2 normal
Target Milestone: 4.0.0
Assignee: Not yet assigned to anyone
URL:
Keywords: wrong-code
Depends on: 19330
Blocks:
  Show dependency treegraph
 
Reported: 2005-01-08 18:39 UTC by John David Anglin
Modified: 2005-01-25 02:26 UTC (History)
1 user (show)

See Also:
Host: hppa64-hp-hpux11.11
Target: hppa64-hp-hpux11.11
Build: hppa64-hp-hpux11.11
Known to work:
Known to fail:
Last reconfirmed: 2005-01-15 16:37:51


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John David Anglin 2005-01-08 18:39:22 UTC
The tests have failed since inception at -O2.  They also started failing
at -O1 between Thu Sep 16 02:02:25 UTC and Sun Sep 26 19:50:51 UTC 2004.
Comment 1 Andrew Pinski 2005-01-08 19:06:27 UTC
Can you manually test this test in 3.4.x as I think this might be a regression.  (well -O1 is though).
Comment 2 dave 2005-01-08 19:25:52 UTC
Subject: Re:  [4.0 Regression] FAIL: gcc.c-torture/execu

> ------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-08
> 19:06 -------
> Can you manually test this test in 3.4.x as I think this might be a
> regression.  (well -O1 is though).

Yes, with 3.4.3, both tests pass at -O1 and abort at -O2.  The failure
in -1 at -O2 with 3.4.3 is in testE:

(gdb) bt
#0  0x800003fffef81700 in abort () from /lib/pa20_64/libc.2
#1  0x4000000000006828 in testE ()
    at /test/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.c-torture/execute/20040709-1.c:94
#2  0x400000000000b64c in main ()
    at /test/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.c-torture/execute/20040709-1.c:124
  
Dave
Comment 3 Steven Bosscher 2005-01-15 12:41:31 UTC
Anyone working on this?
Comment 4 John David Anglin 2005-01-25 02:26:35 UTC
Fixed by patch <http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01749.html>.