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 middle-end/68291] New: [6 regression] ICE in emit_move_insn, at expr.c:3540


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

            Bug ID: 68291
           Summary: [6 regression] ICE in emit_move_insn, at expr.c:3540
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
  Target Milestone: ---
              Host: sparc*-sun-solaris2.*
            Target: sparc*-sun-solaris2.*
             Build: sparc*-sun-solaris2.*

On 64-bit Solaris/SPARC, I see a number of testsuite regressions:

FAIL: gcc.c-torture/compile/pr39928-1.c   -O2  (internal compiler error)
FAIL: gcc.c-torture/compile/pr39928-1.c   -O2  (test for excess errors)
FAIL: gcc.c-torture/compile/pr39928-1.c   -O2 -flto  (internal compiler error)
FAIL: gcc.c-torture/compile/pr39928-1.c   -O2 -flto  (test for excess errors)
FAIL: gcc.c-torture/compile/pr39928-1.c   -O2 -flto -flto-partition=none 
(internal compiler error)
FAIL: gcc.c-torture/compile/pr39928-1.c   -O2 -flto -flto-partition=none  (test
for excess errors)
FAIL: gcc.c-torture/compile/pr39928-1.c   -O3 -g  (internal compiler error)
FAIL: gcc.c-torture/compile/pr39928-1.c   -O3 -g  (test for excess errors)
FAIL: gcc.c-torture/compile/pr39928-1.c   -Os  (internal compiler error)
FAIL: gcc.c-torture/compile/pr39928-1.c   -Os  (test for excess errors)

They show the following ICE:

/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.c-torture/compile/pr39928-1.c: In
function 'vq_nbest':
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.c-torture/compile/pr39928-1.c:9:1:
internal compiler error: in emit_move_insn, at expr.c:3540
0x4a8507 emit_move_insn(rtx_def*, rtx_def*)
        /vol/gcc/src/hg/trunk/local/gcc/expr.c:3539
0x4aa303 emit_group_load_1
        /vol/gcc/src/hg/trunk/local/gcc/expr.c:1591
0x4aa45f emit_group_load(rtx_def*, rtx_def*, tree_node*, int)
        /vol/gcc/src/hg/trunk/local/gcc/expr.c:1754
0x513ed3 expand_function_end()
        /vol/gcc/src/hg/trunk/local/gcc/function.c:5479
0x39fa0b construct_exit_block
        /vol/gcc/src/hg/trunk/local/gcc/cfgexpand.c:5813
0x39fa0b execute
        /vol/gcc/src/hg/trunk/local/gcc/cfgexpand.c:6319

Reproduce with

cc1 -fpreprocessed pr39928-1.i -mptr64 -mstack-bias -mno-v8plus -mcpu=v9 -quiet
-m64 -O2 -o pr39928-1.s

  Rainer

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