c/9787: optimization bug with 176.gcc from SPECcpu2000

thomas.anders@blue-cable.de thomas.anders@blue-cable.de
Fri Feb 21 14:16:00 GMT 2003

>Number:         9787
>Category:       c
>Synopsis:       optimization bug with 176.gcc from SPECcpu2000
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 21 14:16:00 UTC 2003
>Originator:     Thomas Anders
>Release:        gcc version 3.2.2
Intel Pentium 4 1.70GHz
SuSE Linux 8.1, Kernel 2.4.19
The 176.gcc benchmark from the latest SPECcpu2000 V1.2 benchmark suite (www.spec.org/osg/cpu2000/) gives wrong results ("miscompare") when using optimization levels 1, 2 or 3 (e.g. "-O3") and "-march=pentium4" with gcc 3.2.2 (Release). Unfortunately I can't provide the source code here since it's covered under SPEC's license. A SPEC licensee (from SuSE, RedHat and friends) should be looking at this issue.
Compile the 176.gcc benchmark from the SPECcpu2000 benchmark suite (www.spec.org/osg/cpu2000/) with OPTIMIZE="-O3 -march=pentium4" using gcc 3.2.2 (Release).
Yes, please! ;)

More information about the Gcc-bugs mailing list