When cross-compiling the attached test case with -Os, the x86_64 cross-compiler produces an ICE:
/home/bje/44bug/main.c: In function ‘unknown_bootoption’: /home/bje/44bug/main.c:34: internal compiler error: in simplify_subreg, at simplify-rtx.c:4975 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. -- Summary: ICE when cross-compiling with -Os Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: middle-end AssignedTo: bje at gcc dot gnu dot org ReportedBy: bje at gcc dot gnu dot org GCC host triplet: powerpc-linux GCC target triplet: x86_64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40035