http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60030
Bug ID: 60030 Summary: [4.9 regression] ICE in simplify_subreg, at simplify-rtx.c:5903 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: sch...@linux-m68k.org Target: powerpc-*-* $ gcc/xgcc -Bgcc/ ../gcc/testsuite/c-c++-common/ubsan/overflow-1.c -Bpowerpc64-linux/32/libsanitizer/ -Bpowerpc64-linux/32/libsanitizer/ubsan/ -Lpowerpc64-linux/32/libsanitizer/ubsan/.libs -fno-diagnostics-show-caret -fdiagnostics-color=never -O0 -fsanitize=signed-integer-overflow -lm -m32 -o ./overflow-1.exe../gcc/testsuite/c-c++-common/ubsan/overflow-1.c: In function ‘main’: ../gcc/testsuite/c-c++-common/ubsan/overflow-1.c:81:40: internal compiler error: in simplify_subreg, at simplify-rtx.c:5903 ../gcc/testsuite/c-c++-common/ubsan/overflow-1.c:12:29: note: in definition of macro ‘CHECK’ ../gcc/testsuite/c-c++-common/ubsan/overflow-1.c:81:10: note: in expansion of macro ‘FN1’ 0x1054b22b simplify_subreg(machine_mode, rtx_def*, machine_mode, unsigned int) ../../gcc/simplify-rtx.c:5902 0x1054b4df simplify_gen_subreg(machine_mode, rtx_def*, machine_mode, unsigned int) ../../gcc/simplify-rtx.c:6123 0x102b9abf operand_subword(rtx_def*, unsigned int, int, machine_mode) ../../gcc/emit-rtl.c:1442 0x102b9cbf operand_subword_force(rtx_def*, unsigned int, machine_mode) ../../gcc/emit-rtl.c:1455 0x1048412b expand_binop(machine_mode, optab_tag, rtx_def*, rtx_def*, rtx_def*, int, optab_methods) ../../gcc/optabs.c:1813 0x102cf023 expand_shift_1 ../../gcc/expmed.c:2287 0x103a5b2f ubsan_expand_si_overflow_mul_check(gimple_statement_base*) ../../gcc/internal-fn.c:649 0x103a659b expand_internal_call(gimple_statement_base*) ../../gcc/internal-fn.c:883 0x101f2667 expand_call_stmt ../../gcc/cfgexpand.c:2188 0x101f2667 expand_gimple_stmt_1 ../../gcc/cfgexpand.c:3157 0x101f2667 expand_gimple_stmt ../../gcc/cfgexpand.c:3309 0x101f351f expand_gimple_basic_block ../../gcc/cfgexpand.c:5149 0x101f58ab gimple_expand_cfg ../../gcc/cfgexpand.c:5715 0x101f58ab execute ../../gcc/cfgexpand.c:5935