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 target/70367] New: ice in extract_constrain_insn, at recog.c:2190


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

            Bug ID: 70367
           Summary: ice in extract_constrain_insn, at recog.c:2190
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

With recent gcc trunk on x86_64, I get

$ ~/gcc/results/bin/gcc -c -O3 -march=native gcc.target/i386/pr70300.c
gcc.target/i386/pr70300.c: In function âbarâ:
gcc.target/i386/pr70300.c:25:1: error: insn does not satisfy its constraints:
 }
 ^
(insn 127 98 128 2 (set (reg:V4SF 53 xmm16 [125])
        (vec_select:V4SF (vec_concat:V8SF (reg:V4SF 53 xmm16 [125])
                (reg:V4SF 53 xmm16 [125]))
            (parallel [
                    (const_int 0 [0])
                    (const_int 4 [0x4])
                    (const_int 1 [0x1])
                    (const_int 5 [0x5])
                ]))) gcc.target/i386/pr70300.c:21 2460 {vec_interleave_lowv4sf}
     (nil))
gcc.target/i386/pr70300.c:25:1: internal compiler error: in
extract_constrain_insn, at recog.c:2190
0xb7d207 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../src/trunk/gcc/rtl-error.c:108
0xb7d23f _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../src/trunk/gcc/rtl-error.c:119
0xb3b39e extract_constrain_insn(rtx_insn*)
        ../../src/trunk/gcc/recog.c:2190
0xb47120 copyprop_hardreg_forward_1
        ../../src/trunk/gcc/regcprop.c:774
0xb47f91 execute
        ../../src/trunk/gcc/regcprop.c:1280
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.
$ 

But if I remove the -march=native, all goes well:

$ ~/gcc/results/bin/gcc -c -O3  gcc.target/i386/pr70300.c
$ 

Exact CPU model seems to be

model name      : AMD Phenom(tm) II X4 970 Processor

gcc.target/i386/pr70300.c is from the gcc/testsuite directory.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]