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

            Bug ID: 68363
           Summary: [4.9/5/6 Regression] ICE: in recog_memoized, at
                    recog.h:167 with RTL checking with
                    -mfix-cortex-a53-835769 @ aarch64
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---

Created attachment 36714
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36714&action=edit
reduced testcase

Compiler output:
$ aarch64-unknown-linux-gnu-gcc -mfix-cortex-a53-835769 testcase.c
testcase.c: In function 'foo':
testcase.c:16:1: internal compiler error: RTL check: expected elt 5 type 'i' or
'n', have '0' (rtx jump_table_data) in recog_memoized, at recog.h:167
 }
 ^

0xaa6796 rtl_check_failed_type2(rtx_def const*, int, int, int, char const*,
int, char const*)
        /mnt/svn/gcc-trunk/gcc/rtl.c:802
0xe4ea6e recog_memoized
        /mnt/svn/gcc-trunk/gcc/recog.h:169
0xe4ea6e aarch64_madd_needs_nop(rtx_insn*)
        /mnt/svn/gcc-trunk/gcc/config/aarch64/aarch64.c:10079
0x7f73c3 shorten_branches(rtx_insn*)
        /mnt/svn/gcc-trunk/gcc/final.c:1189
0x7f8e3f rest_of_handle_shorten_branches
        /mnt/svn/gcc-trunk/gcc/final.c:4527
0x7f8e3f execute
        /mnt/svn/gcc-trunk/gcc/final.c:4556
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.

$ aarch64-unknown-linux-gnu-gcc -v                                
Using built-in specs.
COLLECT_GCC=/mnt/svn/gcc-trunk/binary-latest-aarch64/bin/aarch64-unknown-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-230394-checking-yes-rtl-df-nographite-aarch64/libexec/gcc/aarch64-unknown-linux-gnu/6.0.0/lto-wrapper
Target: aarch64-unknown-linux-gnu
Configured with: /mnt/svn/gcc-trunk//configure --enable-checking=yes,rtl,df
--enable-languages=c,c++
--prefix=/mnt/svn/gcc-trunk/binary-230394-checking-yes-rtl-df-nographite-aarch64/
--without-cloog --without-ppl --without-isl --host=x86_64-pc-linux-gnu
--target=aarch64-unknown-linux-gnu --build=x86_64-pc-linux-gnu
--with-sysroot=/home/aarch64-chroot
--with-as=/usr/libexec/gcc/aarch64-unknown-linux-gnu/as
--with-ld=/usr/libexec/gcc/aarch64-unknown-linux-gnu/ld
Thread model: posix
gcc version 6.0.0 20151115 (experimental) (GCC) 

RTL checking must be enabled.

Tested revisions:
trunk r230394 - ICE
5-branch r229483 - ICE
4_9-branch r229291 - ICE
4_8-branch r224828 - OK

Reply via email to