Bug 42710 - [4.5 Regression] ICE in first_imm_use_stmt, at tree-flow-inline.h:1081
Summary: [4.5 Regression] ICE in first_imm_use_stmt, at tree-flow-inline.h:1081
Status: RESOLVED DUPLICATE of bug 42604
Alias: None
Product: gcc
Classification: Unclassified
Component: debug (show other bugs)
Version: 4.5.0
: P3 normal
Target Milestone: 4.5.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-12 16:09 UTC by Matthias Klose
Modified: 2010-01-13 10:06 UTC (History)
5 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
preprocessed source (136.99 KB, application/x-gzip)
2010-01-12 16:24 UTC, Matthias Klose
Details
reduced testcase (896 bytes, text/plain)
2010-01-12 16:38 UTC, Richard Biener
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Klose 2010-01-12 16:09:57 UTC
seen with trunk 20100107:

build succeeds with either -O2, or without the -ffast-math

$ g++ -c -g -O3 -ffast-math dcraw.ii 
dcraw.cc: In member function 'void DCRaw::convert_to_rgb()':
dcraw.cc:8096:6: internal compiler error: in first_imm_use_stmt, at tree-flow-inline.h:1081
Please submit a full bug report,
with preprocessed source if appropriate.
Comment 1 Matthias Klose 2010-01-12 16:24:04 UTC
Created attachment 19560 [details]
preprocessed source
Comment 2 Richard Biener 2010-01-12 16:30:41 UTC
Also works without -g.  Reducing.
Comment 3 Richard Biener 2010-01-12 16:38:51 UTC
Created attachment 19561 [details]
reduced testcase
Comment 4 Richard Biener 2010-01-12 16:40:39 UTC
Seems to work on current trunk (fixed between revs 155679 (failing) and
155834 (ok)).
Comment 5 Jakub Jelinek 2010-01-13 10:06:29 UTC
I believe this is a dupe of PR42604, at least the testcase in there comes from
http://bugzilla.redhat.com/show_bug.cgi?id=552073
which is also ICE on dcraw.cc in the same function.

*** This bug has been marked as a duplicate of 42604 ***