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

            Bug ID: 98850
           Summary: ICE in expand_debug_locations, at cfgexpand.c:5458
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---
              Host: armv7hl-suse-linux-gnueabi

Happens for gcc version 10.2.1 20201202 [revision
e563687cf9d3d1278f45aaebd03e0f66531076c9] (SUSE Linux) 

on the ARM target:

$ cat x.i
typedef __simd64_uint8_t uint8x8_t;
uint8x8_t remap_arrange_ch4_float32ne_neon_m_0_1;

void remap_arrange_ch4_float32ne_neon() {
  uint8x8_t t1 = remap_arrange_ch4_float32ne_neon_m_0_1;
}

$ gcc x.i -O2 -flto -c -mfpu=neon -g && gcc -shared -fPIC x.o
during RTL pass: expand
x.i: In function 'remap_arrange_ch4_float32ne_neon':
x.i:4:6: internal compiler error: in expand_debug_locations, at
cfgexpand.c:5458
    4 | void remap_arrange_ch4_float32ne_neon() {
      |      ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.opensuse.org/> for instructions.
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/lib/gcc/armv7hl-suse-linux-gnueabi/10/../../../../armv7hl-suse-linux-gnueabi/bin/ld:
error: lto-wrapper failed
collect2: error: ld returned 1 exit status

It is maybe similar to PR94172.

Reply via email to