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.
Created attachment 19560 [details] preprocessed source
Also works without -g. Reducing.
Created attachment 19561 [details] reduced testcase
Seems to work on current trunk (fixed between revs 155679 (failing) and 155834 (ok)).
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 ***