[Bug target/90933] New: [nvptx] internal compiler error: RTL check: expected code 'const_int', have 'reg' in rtx_to_poly_int64, at rtl.h:2367

vries at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 19 12:36:00 GMT 2019


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

            Bug ID: 90933
           Summary: [nvptx] internal compiler error: RTL check: expected
                    code 'const_int', have 'reg' in rtx_to_poly_int64, at
                    rtl.h:2367
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

gcc.sum:
...
FAIL: gcc.dg/memcmp-1.c (internal compiler error)
...

gcc.log:
...
during RTL pass: expand^M
/home/vries/nvptx/mainkernel-2/source-gcc/gcc/testsuite/gcc.dg/memcmp-1.c: In
function 'test_strncmp_49_1':^M
/home/vries/nvptx/mainkernel-2/source-gcc/gcc/testsuite/gcc.dg/memcmp-1.c:190:13:
internal compiler error: RTL check: expected code 'const_int', have 'reg' in
rtx_to_poly_int64, at rtl.h:2367^M
/home/vries/nvptx/mainkernel-2/source-gcc/gcc/testsuite/gcc.dg/memcmp-1.c:487:1:
note: in expansion of macro 'DEF_TEST'^M
0x573b79 rtl_check_failed_code1(rtx_def const*, rtx_code, char const*, int,
char const*)^M
        /home/vries/nvptx/mainkernel-2/source-gcc/gcc/rtl.c:890^M
0x73b346 rtx_to_poly_int64(rtx_def const*)^M
        /home/vries/nvptx/mainkernel-2/source-gcc/gcc/rtl.h:2367^M
0x73b346 expand_stack_vars^M
        /home/vries/nvptx/mainkernel-2/source-gcc/gcc/cfgexpand.c:1223^M
0x73bc9b expand_used_vars^M
        /home/vries/nvptx/mainkernel-2/source-gcc/gcc/cfgexpand.c:2297^M
0x73fe92 execute^M
        /home/vries/nvptx/mainkernel-2/source-gcc/gcc/cfgexpand.c:6394^M
...


More information about the Gcc-bugs mailing list