Open Quuxplusone opened 5 years ago
Attached clangbug12.tar.gz
(466558 bytes, application/x-gzip): Source and preprocessed files for the two cases, triggering different crashes. [Note: Decompresses to current directory]
Sorry, minimal code [corrected] is:
https://godbolt.org/z/j_WU8P
#include <immintrin.h>
struct S
{
__m128 l;
__m128 operator + (const __m128 r) const { return r+l; }
};
struct A
{
S s;
__m128 v;
void f(A& /*__restrict*/ a) __restrict __attribute__((used)) { v += s+a.v; }
};
int main() { return 0; }
clangbug12.tar.gz
(466558 bytes, application/x-gzip)