The below testcase is extracted from smpeg. It's C++. Compile it like so: % ./gcc/cc1plus -O2 -fPIC video.ii video.cpp: In function 'int ParseMacroBlock(VidStream*)': video.cpp:2205: internal compiler error: output_operand: Cannot decompose address. I wasn't able to make the functions much smaller than this (didn't try reducing the headers, though).
-- Summary: ICE: output_operand: Cannot decompose address Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: target AssignedTo: uweigand at de dot ibm dot com ReportedBy: matz at suse dot de CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: {s390,s390x}-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21041