https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79788
Bug ID: 79788 Summary: ICE in expand_expr_real_2, at expr.c:9557 Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fort...@t-online.de Target Milestone: --- With testfile ./gcc.dg/pr38934.c : $ gcc-7-20170226 -m32 -mmpx -fcheck-pointer-bounds -ftrapv -c pr38934.c pr38934.c: In function 'f': pr38934.c:14:13: warning: integer constant is so large that it is unsigned if (p >= -9223372036854775808LL - (signed char) g) ^~~~~~~~~~~~~~~~~~~~~ pr38934.c: In function 'f.chkp': pr38934.c:14:35: internal compiler error: in expand_expr_real_2, at expr.c:9557 if (p >= -9223372036854775808LL - (signed char) g) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 0x8dccd2 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier) ../../gcc/expr.c:9557 0x7b71e2 expand_gimple_stmt_1 ../../gcc/cfgexpand.c:3676 0x7b71e2 expand_gimple_stmt ../../gcc/cfgexpand.c:3737 0x7b998e expand_gimple_basic_block ../../gcc/cfgexpand.c:5744 0x7bfa56 execute ../../gcc/cfgexpand.c:6357