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/63669] [AArch64] gcc.dg/torture/asm-subreg-1.c ICE in reload.c on 4.8 branch or on 4.9 and 5.0 with -fPIC


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

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Target|                            |aarch64-none-elf
            Summary|[AArch64]                   |[AArch64]
                   |gcc.dg/torture/asm-subreg-1 |gcc.dg/torture/asm-subreg-1
                   |.c ICE in reload.c on 4.8   |.c ICE in reload.c on 4.8
                   |branch or on 4.9 and 5.0    |branch or on 4.9 and 5.0
                   |with -mno-lra               |with -fPIC
      Known to fail|                            |4.8.4, 4.9.2, 5.0
           Severity|minor                       |normal

--- Comment #2 from ktkachov at gcc dot gnu.org ---
(In reply to Andrew Pinski from comment #1)
> it also fails with -fPIC on aarch64 even without -mno-lra.

Indeed, with the backtrace:
$TOP/gcc/testsuite/gcc.dg/torture/asm-subreg-1.c:14:1: internal compiler error:
in lra_set_insn_recog_data, at lra.c:945
0x8bb49b lra_set_insn_recog_data(rtx_insn*)
        $TOP/gcc/lra.c:943
0x8bc425 lra_get_insn_recog_data
        $TOP/gcc/lra-int.h:475
0x8bc425 lra_update_insn_regno_info(rtx_insn*)
        $TOP/gcc/lra.c:1584
0x8bc670 lra_push_insn_1
        $TOP/gcc/lra.c:1637
0x8bc670 lra_push_insn(rtx_insn*)
        $TOP/gcc/lra.c:1645
0x8bc829 push_insns
        $TOP/gcc/lra.c:1688
0x8bcd0c lra_process_new_insns(rtx_insn*, rtx_insn*, rtx_insn*, char const*)
        $TOP/gcc/lra.c:1734
0x8ccede curr_insn_transform
        $TOP/gcc/lra-constraints.c:3741
0x8cdede lra_constraints(bool)
        $TOP/gcc/lra-constraints.c:4237
0x8bd96c lra(_IO_FILE*)
        $TOP/gcc/lra.c:2178
0x87e00a do_reload
        $TOP/gcc/ira.c:5374
0x87e00a execute
        $TOP/gcc/ira.c:5536
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]