As reported at: https://sourceforge.net/tracker/index.php?func=detail&aid=1266135&group_id=2435&atid=102435
int main() { int value=1; !(value?true:throw); return 0; } main.cc: In function 'int main()': main.cc:4: internal compiler error: in invert_truthvalue, at fold-const.c:3064 This also fails with 3.4.2 Danny -- Summary: ICE with invert conditional containing throw Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dannysmith at users dot sourceforge dot net GCC build triplet: i386-pc-mingw32 GCC host triplet: i386-pc-mingw32 GCC target triplet: i386-pc-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24439