Bug 60760 - -O2 -mcpu=i586 generates the wrong code.
-O2 -mcpu=i586 generates the wrong code.
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: gcc (Show other bugs)
7.3
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-03-05 21:46 EST by hjl
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-03-05 21:47:20 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
A text case (1.10 KB, text/plain)
2002-03-05 21:47 EST, hjl
no flags Details

  None (edit)
Description hjl 2002-03-05 21:46:35 EST
# gcc -O2 -march=i586 bad.c -o bad
# ./bad
zsh: 28836 segmentation fault  ./bad
Comment 1 hjl 2002-03-05 21:47:15 EST
Created attachment 47540 [details]
A text case
Comment 2 Jakub Jelinek 2002-03-18 12:20:45 EST
Should be fixed in gcc{,3}-3.1-0.23* and above

Note You need to log in before you can comment on or make changes to this bug.