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

            Bug ID: 69245
           Summary: [6 Regression] ICE in extract_insn, at recog.c:2286 on
                    arm-linux-gnueabihf
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org
  Target Milestone: ---

trunk r232188, arm-linux-gnueabihf

reduced test case:

struct {
# 4 "" 3
};
#pragma GCC push_options
#pragma GCC target "fpu=crypto-neon-fp-armv8"
a, c, d;
float b;
static fn1() {}

#pragma GCC pop_options
fn2() { d = b * c + a; }

$ gcc -c -g -O2 -mfpu=neon -mfloat-abi=hard -march=armv7-a -mthumb
volk_machine_neon_hardfp_orc.i
: In function 'fn2':
:12:1: error: unrecognizable insn:

(insn 14 13 15 2 (set (reg:SF 126)
        (fma:SF (reg:SF 120)
            (reg:SF 127)
            (reg:SF 123))) :12 -1
     (nil))
:12:1: internal compiler error: in extract_insn, at recog.c:2286
0x3e72b9 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../src/gcc/rtl-error.c:108
0x3e72e5 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../src/gcc/rtl-error.c:116
0x3c71e3 extract_insn(rtx_insn*)
        ../../src/gcc/recog.c:2286
0x2b8233 instantiate_virtual_regs_in_insn
        ../../src/gcc/function.c:1582
0x2b8233 instantiate_virtual_regs
        ../../src/gcc/function.c:1950
0x2b8233 execute
        ../../src/gcc/function.c:1999
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.

Reply via email to