This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/71673] New: [7 Regression] FAIL: c-c++-common/torture/builtin-arith-overflow-p-19.c -O2 (internal compiler error)


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71673

            Bug ID: 71673
           Summary: [7 Regression] FAIL:
                    c-c++-common/torture/builtin-arith-overflow-p-19.c -O2
                     (internal compiler error)
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ktkachov at gcc dot gnu.org
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---
            Target: arm

The new test introduced with r237754 ICEs on arm targets:
FAIL: c-c++-common/torture/builtin-arith-overflow-p-19.c   -O2  (internal
compiler error)
FAIL: c-c++-common/torture/builtin-arith-overflow-p-19.c   -O2  (test for
excess errors)
FAIL: c-c++-common/torture/builtin-arith-overflow-p-19.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none  (internal compiler error)
FAIL: c-c++-common/torture/builtin-arith-overflow-p-19.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none  (test for excess errors)
FAIL: c-c++-common/torture/builtin-arith-overflow-p-19.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects  (internal compiler error)
FAIL: c-c++-common/torture/builtin-arith-overflow-p-19.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)

The backtrace is:
$SRC/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-p-19.c: In
function 't100_1add':
$SRC/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow.h:97:7: internal
compiler error: Segmentation fault
$SRC/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-p-19.c:32:1:
note: in expansion of macro 'TP'
$SRC/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-p-19.c:63:1:
note: in expansion of macro 'TESTS'
0xb24ce0 crash_signal
        $SRC/gcc/toplev.c:335
0xabea37 commutative_operand_precedence(rtx_def*)
        $SRC/gcc/rtlanal.c:3367
0xabeb58 swap_commutative_operands_p(rtx_def*, rtx_def*)
        $SRC/gcc/rtlanal.c:3437
0x78baf4 do_compare_rtx_and_jump(rtx_def*, rtx_def*, rtx_code, int,
machine_mode, rtx_def*, rtx_code_label*, rtx_code_label*, int)
        $SRC/gcc/dojump.c:988
0x927065 expand_arith_overflow_result_store
        $SRC/gcc/internal-fn.c:468
0x92cb83 expand_arith_overflow
        $SRC/gcc/internal-fn.c:1812
0x92cf05 expand_ADD_OVERFLOW
        $SRC/gcc/internal-fn.c:1920
0x928170 expand_internal_call(internal_fn, gcall*)
        $SRC/gcc/internal-fn.c:2396
0x92819e expand_internal_call(gcall*)
        $SRC/gcc/internal-fn.c:2404
0x713765 expand_call_stmt
        $SRC/gcc/cfgexpand.c:2573
0x713765 expand_gimple_stmt_1
        $SRC/gcc/cfgexpand.c:3574
0x713765 expand_gimple_stmt
        $SRC/gcc/cfgexpand.c:3740
0x717424 expand_gimple_basic_block
        $SRC/gcc/cfgexpand.c:5747
0x71aaee execute
        $SRC/gcc/cfgexpand.c:6362
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]