Bug 488061 - -fno-tree-sra -> internal compiler error: SSA corruption
Summary: -fno-tree-sra -> internal compiler error: SSA corruption
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-02 12:54 UTC by Yanko Kaneti
Modified: 2009-03-04 19:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-04 19:00:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
preprocessed source (1.96 MB, application/octet-stream)
2009-03-02 12:54 UTC, Yanko Kaneti
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 39362 0 None None None Never

Description Yanko Kaneti 2009-03-02 12:54:22 UTC
Created attachment 333730 [details]
preprocessed source

gcc-4.4.0-0.21.1.i586

WebKit-gtk also seems to be affected by the rawhide upgrade to gcc-4.4. Following the advice of bug 487795 I tried to recompile it with -fno-tree-sra but got the following ICE.

Unable to coalesce ssa_names 534 and 155 which are marked as MUST COALESCE.
D.219586_534(ab) and  D.219586_155(ab)
WebCore/page/AccessibilityRenderObject.cpp: In member function 'virtual void WebCore::AccessibilityRenderObject::addChildren()':
WebCore/page/AccessibilityRenderObject.cpp:2303: internal compiler error: SSA corruption

Attaching the preprocessed source.

Comment 1 Jakub Jelinek 2009-03-02 17:11:06 UTC
I'll look at it.  That said, the advice in #487795 was for that bug, isn't something that should be blindly used for other packages.  Instead you should first look at possible aliasing warnings, fix them, try building with -O0 to see if it helps, if yes, try also -O2 -fno-strict-aliasing, do a binary search between flags that work and flags that don't to find problematic compilation unit, etc.

Comment 2 Yanko Kaneti 2009-03-03 11:04:07 UTC
I would have, but I am quite ignorant on the whole aliasing issue. And there are many aliasing warnings building WebKit/JavaScriptCore. Sorry.

Comment 3 Jakub Jelinek 2009-03-04 19:00:35 UTC
Tracking this upstream.


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