[Bug target/81225] New: [6/7/8 Regression] ICE with -mavx512ifma -O3 -ffloat-store

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 27 10:40:00 GMT 2017


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

            Bug ID: 81225
           Summary: [6/7/8 Regression] ICE with -mavx512ifma -O3
                    -ffloat-store
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: ienkovich at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-linux-gnu
            Target: x86_64-linux-gnu
             Build: x86_64-linux-gnu

Well, probably an awkward test-case, but:

$ cat ice.c
long a[4];
float b[4], c[24];
int d;
void
e ()
{
  for (; d; d++)
    c[d] = (float) d ?: b[a[d]];
}

$ gcc -c -mavx512ifma -O3 -ffloat-store -c ice.c

ice.c: In function ‘e’:
ice.c:9:1: error: unrecognizable insn:
 }
 ^

(insn 263 262 264 41 (set (reg:V4SF 275)
        (vec_select:V4SF (mem:V8SF (plus:DI (reg/f:DI 82 virtual-stack-vars)
                    (const_int -416 [0xfffffffffffffe60])) [3  S32 A256])
            (parallel [
                    (const_int 0 [0])
                    (const_int 1 [0x1])
                    (const_int 2 [0x2])
                    (const_int 3 [0x3])
                ]))) ice.c:8 -1
     (nil))
ice.c:9:1: internal compiler error: in extract_insn, at recog.c:2286

Started with r230103.


More information about the Gcc-bugs mailing list