https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65486
Bug ID: 65486 Summary: ICE: in type_natural_mode, at config/i386/i386.c:6646 Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: david.abdurachmanov at gmail dot com Tested in F21 with gcc version 4.9.2 20150212 (Red Hat 4.9.2-6) (GCC) and in F22 with gcc version 5.0.0 20150226 (Red Hat 5.0.0-0.17) (GCC) Testcase: typedef long double a __attribute__((vector_size (32))); a sum(a first, a second) { return first + second; } Changing vector size: 16 OK 32 ICE 64 ICE 128 OK 256 OK 512 OK 1024 OK 2048 OK Does not allow storing 2 and 4 long doubles in a vector, but every other size is okay. a.cpp: In function ‘a sum(a, a)’: a.cpp:3:24: internal compiler error: in type_natural_mode, at config/i386/i386.c:6646 a sum(a first, a second) { ^ Please submit a full bug report, with preprocessed source if appropriate.