http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61111
Bug ID: 61111 Summary: Infinite recursion between fold_build2_stat_loc and fold_binary_loc Product: gcc Version: 4.10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: rearnsha at gcc dot gnu.org Host: x86_64-linux Target: arm-eabi Compile the following with: -O2 typedef union expr_rec expr; expr *GenBoolAndVec(expr *aExpr, expr *bExpr, int len) { int lsubop; lsubop = ((((len) & 15) << 4) | ((0x00000007) & 15)); } (testcase reduced from running csibe, while trying to identify another seg-fault).