Bug 36075 - [4.3.1 Regression] FAIL: gcc.c-torture/execute/20021119-1.c execution, -O2
Summary: [4.3.1 Regression] FAIL: gcc.c-torture/execute/20021119-1.c execution, -O2
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 4.3.1
: P3 normal
Target Milestone: 4.3.1
Assignee: Not yet assigned to anyone
URL:
Keywords: wrong-code
Depends on:
Blocks:
 
Reported: 2008-04-29 03:10 UTC by John David Anglin
Modified: 2008-05-09 21:55 UTC (History)
1 user (show)

See Also:
Host: hppa2.0w-hp-hpux11.11
Target: hppa2.0w-hp-hpux11.11
Build: hppa2.0w-hp-hpux11.11
Known to work: 4.3.0
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 2008-04-29 03:10:18 UTC
Executing on host: /mnt/gnu/gcc/objdir/gcc/xgcc -B/mnt/gnu/gcc/objdir/gcc/ /mnt/
gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/20021119-1.c  -w  -O2  -fno-show
-column  -lm   -o /mnt/gnu/gcc/objdir/gcc/testsuite/gcc/20021119-1.x2    (timeou
t = 300)
PASS: gcc.c-torture/execute/20021119-1.c compilation,  -O2 
Setting LD_LIBRARY_PATH to :/mnt/gnu/gcc/objdir/gcc::/mnt/gnu/gcc/objdir/gcc
FAIL: gcc.c-torture/execute/20021119-1.c execution,  -O2 

Revision 134604 was ok.

-bash-3.2$ ./xgcc -B./ -v
Reading specs from ./specs
Target: hppa2.0w-hp-hpux11.11
Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu/bin/as --enable-shared --with-local-prefix=/opt/gnu --prefix=/opt/gnu/gcc/gcc-4.3.1 --with-gmp=/opt/gnu/gcc/gcc-4.3.1 --enable-threads=posix --enable-debug=no --disable-nls --enable-languages=c,c++,objc,fortran,java,ada,obj-c++
Thread model: posix
gcc version 4.3.1 20080427 (prerelease) [gcc-4_3-branch revision 134730] (GCC)
Comment 1 Richard Biener 2008-04-29 11:30:39 UTC
Please reduce this to a specific revision.
Comment 2 Richard Biener 2008-05-09 21:11:00 UTC
Ping.  As the testcase in question is really simple some analysis is appreciated.

On i686 the testcase is optimized to return 0 via inlining with the very first
CCP pass at -O2.  So I don't see how this can fail at all.
Comment 3 Richard Biener 2008-05-09 21:25:29 UTC
http://gcc.gnu.org/ml/gcc-testresults/2008-05/msg00694.html

doesn't have the failure.  So, fixed?
Comment 4 John David Anglin 2008-05-09 21:55:22 UTC
Appears to be fixed.