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/68292] New: [6 regression] ICE in copy_blkmode_to_reg, at expr.c:2277


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

            Bug ID: 68292
           Summary: [6 regression] ICE in copy_blkmode_to_reg, at
                    expr.c:2277
           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.*

Two testcases recently regressed on 64-bit Solaris/SPARC:

FAIL: gcc.dg/pr63594-1.c (internal compiler error)
FAIL: gcc.dg/pr63594-1.c (test for excess errors)
FAIL: gcc.dg/pr63594-2.c (internal compiler error)
FAIL: gcc.dg/pr63594-2.c (test for excess errors)
WARNING: gcc.dg/pr63594-2.c compilation failed to produce executable

/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/pr63594-1.c: In function
'test1char32':
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/pr63594-1.c:23:10: internal
compiler error: in copy_blkmode_to_reg, at expr.c:2277
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/pr63594-1.c:37:1: note: in
expansion of macro 'T'
0x4ae4b7 copy_blkmode_to_reg(machine_mode, tree_node*)
        /vol/gcc/src/hg/trunk/local/gcc/expr.c:2277
0x396e3b expand_return
        /vol/gcc/src/hg/trunk/local/gcc/cfgexpand.c:3447
0x396e3b expand_gimple_stmt_1
        /vol/gcc/src/hg/trunk/local/gcc/cfgexpand.c:3546
0x396e3b expand_gimple_stmt
        /vol/gcc/src/hg/trunk/local/gcc/cfgexpand.c:3673
0x398733 expand_gimple_basic_block
        /vol/gcc/src/hg/trunk/local/gcc/cfgexpand.c:5677
0x39f7f7 execute
        /vol/gcc/src/hg/trunk/local/gcc/cfgexpand.c:6289

Reproduce with

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

  Rainer

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