]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tsan/pr88030.c
re PR tree-optimization/88030 (ICE in calc_dfs_tree, at dominance.c:458)
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tsan / pr88030.c
1 /* { dg-do compile } */
2 /* { dg-options "-fsanitize=thread -fnon-call-exceptions -fexceptions" } */
3
4 typedef __complex__ float Value;
5 typedef struct {
6 Value a[16 / sizeof (Value)];
7 } A;
8
9 A sum(A a,A b)
10 {
11 a.a[0]+=b.a[0];
12 a.a[1]+=b.a[1];
13 return a;
14 }