Bug 161360 - Compiler crashes when optimization flags are used
Compiler crashes when optimization flags are used
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: gcc4 (Show other bugs)
4
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-22 13:25 EDT by Konstantin
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-07-12 07:20:02 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Output generated by GCC. (737.19 KB, text/plain)
2005-06-22 13:41 EDT, Konstantin
no flags Details
Output generated by GCC. (737.19 KB, text/plain)
2005-06-22 13:42 EDT, Konstantin
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
GNU Compiler Collection 22415 None None None Never

  None (edit)
Description Konstantin 2005-06-22 13:25:33 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4

Description of problem:
When I use optimization flags exept -O1 compiler crashes.
With -O1 and without any opt. flags source compiles fine and linked binaries work.

# c++ lab-05-task-1.cpp -O2
lab-05-task-1.cpp: In function ‘int main()’:
lab-05-task-1.cpp:156: internal compiler error: in coalesce_abnormal_edges, at tree-outof-ssa.c:642
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccA8XNeH.out file, please attach this to your bugreport.


Version-Release number of selected component (if applicable):
gcc-4.0.0-8

How reproducible:
Always

Steps to Reproduce:
1. Compile some c++ code.


Additional info:
Comment 1 Konstantin 2005-06-22 13:41:02 EDT
Created attachment 115822 [details]
Output generated by GCC.
Comment 2 Konstantin 2005-06-22 13:42:14 EDT
Created attachment 115823 [details]
Output generated by GCC.
Comment 3 Jakub Jelinek 2005-07-12 07:20:02 EDT
Tracking this upstream.

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