Bug 161360

Summary: Compiler crashes when optimization flags are used
Product: [Fedora] Fedora Reporter: Konstantin <k.koshelyaev>
Component: gcc4Assignee: Jakub Jelinek <jakub>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
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: 2005-07-12 11:20:02 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
Output generated by GCC.
none
Output generated by GCC. none

Description Konstantin 2005-06-22 17:25:33 UTC
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 17:41:02 UTC
Created attachment 115822 [details]
Output generated by GCC.

Comment 2 Konstantin 2005-06-22 17:42:14 UTC
Created attachment 115823 [details]
Output generated by GCC.

Comment 3 Jakub Jelinek 2005-07-12 11:20:02 UTC
Tracking this upstream.