[Bug c++/94385] New: Internal compiler error for __builtin_convertvector + statement expr
evan@coeus-group.com
gcc-bugzilla@gcc.gnu.org
Sat Mar 28 21:45:44 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94385
Bug ID: 94385
Summary: Internal compiler error for __builtin_convertvector +
statement expr
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: evan@coeus-group.com
Target Milestone: ---
One of my projects is hitting an internal compiler error on GCC 10. It works
for g++ 9, and it works in C mode.
Here is a test case:
#include <stdint.h>
typedef int32_t vec32 __attribute__((__vector_size__(16)));
typedef float vecf __attribute__((__vector_size__(16)));
vec32 foo(vecf bar) {
return (__extension__({
__builtin_convertvector(bar, vec32);
}));
}
Compiler Explorer link: https://godbolt.org/z/FMbXgs
More information about the Gcc-bugs
mailing list