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

            Bug ID: 83034
           Summary: ice in mem_loc_descriptor, at dwarf2out.c :15669
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

For the following C code:

float *a;
b;
__attribute__((__simd__)) float expf(float);
c() {
  for (; b; b++) {
    float c = expf(b);
    a[b] = c;
  }
}


recent gcc trunk and flags -funroll-loops -ffast-math -O3 -g does this:

(vec_series:V4SI (reg:SI 6 bp [orig:95 tmp.13 ] [95])
    (const_int 1 [0x1]))during RTL pass: final
bug394-min.c: In function ā€˜cā€™:
bug394-min.c:9:1: internal compiler error: in mem_loc_descriptor, at
dwarf2out.c
:15669
 }
 ^
0x943449 mem_loc_descriptor(rtx_def*, machine_mode, machine_mode,
var_init_statu
s)
        ../../trunk/gcc/dwarf2out.c:15669

The problem seems to exist between revisions 254255 and 254315.

Reply via email to