http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60093

            Bug ID: 60093
           Summary: ICE on testsuite/c-c++-common/ubsan/overflow-*.c
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bernd.edlinger at hotmail dot de

spawn /home/ed/gnu/gcc-build-arm-linux-gnueabihf/gcc/xgcc
-B/home/ed/gnu/gcc-build-arm-linux-gnueabihf/gcc/
/home/ed/gnu/gcc-4.9-20140202/gcc/testsuite/c-c++-common/ubsan/overflow-2.c
-B/home/ed/gnu/gcc-build-arm-linux-gnueabihf/armv7l-unknown-linux-gnueabihf/./libsanitizer/
-B/home/ed/gnu/gcc-build-arm-linux-gnueabihf/armv7l-unknown-linux-gnueabihf/./libsanitizer/ubsan/
-L/home/ed/gnu/gcc-build-arm-linux-gnueabihf/armv7l-unknown-linux-gnueabihf/./libsanitizer/ubsan/.libs
-fno-diagnostics-show-caret -fdiagnostics-color=never -Os
-fsanitize=signed-integer-overflow -lm -o ./overflow-2.exe^M
In file included from
/home/ed/gnu/gcc-4.9-20140202/gcc/testsuite/c-c++-common/ubsan/overflow-2.c:8:0:^M
/home/ed/gnu/gcc-4.9-20140202/gcc/testsuite/c-c++-common/ubsan/overflow-1.c: In
function 'main':^M
/home/ed/gnu/gcc-4.9-20140202/gcc/testsuite/c-c++-common/ubsan/overflow-1.c:81:40:
internal compiler error: in simplify_subreg, at simplify-rtx.c:5903^M
/home/ed/gnu/gcc-4.9-20140202/gcc/testsuite/c-c++-common/ubsan/overflow-1.c:12:29:
note: in definition of macro 'CHECK'^M
/home/ed/gnu/gcc-4.9-20140202/gcc/testsuite/c-c++-common/ubsan/overflow-1.c:81:10:
note: in expansion of macro 'FN1'^M
0x57f3e3 simplify_subreg(machine_mode, rtx_def*, machine_mode, unsigned int)^M
        ../../gcc-4.9-20140202/gcc/simplify-rtx.c:5902^M
0x57f793 simplify_gen_subreg(machine_mode, rtx_def*, machine_mode, unsigned
int)^M
        ../../gcc-4.9-20140202/gcc/simplify-rtx.c:6123^M
0x2ded5b operand_subword_force(rtx_def*, unsigned int, machine_mode)^M
        ../../gcc-4.9-20140202/gcc/emit-rtl.c:1455^M
0x4da013 expand_binop(machine_mode, optab_tag, rtx_def*, rtx_def*, rtx_def*,
int, optab_methods)^M
        ../../gcc-4.9-20140202/gcc/optabs.c:1813^M
0x2efc2b expand_shift_1^M
        ../../gcc-4.9-20140202/gcc/expmed.c:2287^M
0x402b2f ubsan_expand_si_overflow_mul_check(gimple_statement_base*)^M
        ../../gcc-4.9-20140202/gcc/internal-fn.c:649^M
0x228667 expand_call_stmt^M
        ../../gcc-4.9-20140202/gcc/cfgexpand.c:2188^M
0x228667 expand_gimple_stmt_1^M
        ../../gcc-4.9-20140202/gcc/cfgexpand.c:3157^M
0x228667 expand_gimple_stmt^M
        ../../gcc-4.9-20140202/gcc/cfgexpand.c:3309^M
0x22998b expand_gimple_basic_block^M
        ../../gcc-4.9-20140202/gcc/cfgexpand.c:5149^M
0x22b88b gimple_expand_cfg^M
        ../../gcc-4.9-20140202/gcc/cfgexpand.c:5715^M
0x22b88b execute^M
        ../../gcc-4.9-20140202/gcc/cfgexpand.c:5935^M
Please submit a full bug report,^M
with preprocessed source if appropriate.^M
Please include the complete backtrace with any bug report.^M
See <http://gcc.gnu.org/bugs.html> for instructions.^M


same for 

FAIL: c-c++-common/ubsan/overflow-mul-3.c  -Os  (internal compiler error)
FAIL: c-c++-common/ubsan/overflow-mul-4.c  -Os  (internal compiler error)

Reply via email to