http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60697

            Bug ID: 60697
           Summary: [aarch64] LRA ICE (Segfault) while building
                    435.gromacs
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ktkachov at gcc dot gnu.org

Created attachment 32474
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32474&action=edit
Reduced testcase

AArch64 compiler ICEs when building SPEC2k6.

besttry.c:393:1: internal compiler error: Segmentation fault
 }
 ^
0x9d311f crash_signal
        $TOP/gcc/gcc/toplev.c:337
0x8c73af base_plus_disp_to_reg
        $TOP/gcc/gcc/lra-constraints.c:2630
0x8c9f80 process_address
        $TOP/gcc/gcc/lra-constraints.c:2942
0x8cd10c curr_insn_transform
        $TOP/gcc/gcc/lra-constraints.c:3230
0x8cfebc lra_constraints(bool)
        $TOP/gcc/gcc/lra-constraints.c:4175
0x8c0e23 lra(_IO_FILE*)
        $TOP/gcc/gcc/lra.c:2353
0x88215e do_reload
        $TOP/gcc/gcc/ira.c:5457
0x88215e rest_of_handle_reload
        $TOP/gcc/gcc/ira.c:5598
0x88215e execute
        $TOP/gcc/gcc/ira.c:5627
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.

Reduced testcase is attached.

Fails with -O3 -mcpu=cortex-a53. Doesn't ICE with -O2

Reply via email to