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

            Bug ID: 65489
           Summary: [5.0 Regression] Testcase for PR 65427 ICEs at -Os on
                    arm-none-eabi in hoist pass
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ktkachov at gcc dot gnu.org
            Target: arm*

As reported at:
https://gcc.gnu.org/ml/gcc-patches/2015-03/msg00949.html

The testcase gcc.c-torture/execute/pr65427.c ICEs on arm at -Os with:
0x7e6f11 process_insert_insn
        $TOP/gcc/gcse.c:2174
0x7e8a80 insert_insn_end_basic_block
        $TOP/gcc/gcse.c:2196
0x7eab01 hoist_code
        $TOP/gcc/gcse.c:3492
0x7eab01 one_code_hoisting_pass
        $TOP/gcc/gcse.c:3722
0x7eab01 execute_rtl_hoist
        $TOP/gcc/gcse.c:4212
0x7eab01 execute
        $TOP/gcc/gcse.c:4293

The ICE is unrelated to that PR and is just exposed by the new testcase.
I can reproduce it with on arm-none-eabi with -Os -mfloat-abi=hard
-mcpu=cortex-a9 -mfpu=neon -mfloat-abi=softfp

Reply via email to