Bug 56715

Summary: "gcc-2.96-99 " -O2 -mcpu=i686 -ffast-math" produces broken code
Product: [Retired] Red Hat Raw Hide Reporter: ellson
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-02 00:56:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
source file
none
Makefile none

Description ellson 2001-11-26 11:14:21 UTC
Description of Problem:
"-O2 -mcpu=i686 -ffast-math" produces broken code

Version-Release number of selected component (if applicable):
gcc-2.96-99

How Reproducible:
100%


Steps to Reproduce:
1.make attached example 
2. 
3. 

Actual Results:


Expected Results:


Additional Information:
Problem does not exist in gcc-3.0.2 or in egcs-2.91.66

Comment 1 ellson 2001-11-26 11:16:23 UTC
Created attachment 38545 [details]
source file

Comment 2 ellson 2001-11-26 11:17:35 UTC
Created attachment 38547 [details]
Makefile

Comment 3 Richard Henderson 2004-10-02 00:56:14 UTC
I can't reproduce this with gcc 3.2, but I suspect that this is

  http://gcc.gnu.org/PR323

which is not taking into account (allowed) extra computational
precision.