https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119067
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
Component|target |lto
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
here is an invalid testcase which has the same ICE.
file0.cc:
```
typedef char __v32qi __attribute__ ((__vector_size__ (8)));
__v32qi g(void);
__v32qi h(__v32qi a)
{
return g();
}
```
file1.cc:
```
typedef char __v32qi __attribute__ ((__vector_size__ (16)));
__v32qi g(void) {}
```
`g++ file1.cc file2.cc -flto` is enough in this case.