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

Alex Coplan <acoplan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
                 CC|                            |acoplan at gcc dot gnu.org
      Known to fail|                            |10.2.1, 11.0
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2021-04-01
            Summary|[11 Regression] ICE in      |[10/11 Regression] ICE in
                   |to_constant, at             |to_constant, at
                   |poly-int.h:504              |poly-int.h:504
           Keywords|                            |ice-on-invalid-code

--- Comment #1 from Alex Coplan <acoplan at gcc dot gnu.org> ---
Confirmed. ICEs with just:

#include <arm_sve.h>
void g(svint8x2_t *p) { svint8x2_t x = *p; }

Notably for the related:

#include <arm_sve.h>
void f(svint8_t *p) { svint8_t x = *p; }

we diagnose it:

diag.c: In function ‘f’:
diag.c:2:32: error: this operation requires the SVE ISA extension
    2 | void f(svint8_t *p) { svint8_t x = *p; }
      |                                ^
diag.c:2:32: note: you can enable SVE using the command-line option ‘-march’,
or by using the ‘target’ attribute or pragma

Reply via email to