a19a242c MU |
1 | /* PR c/97981 */ |
2 | /* { dg-do compile } */ |
3 | /* { dg-options "-fdump-tree-original" } */ |
4 | /* { dg-final { scan-tree-dump-times "atomic_load" 2 "original" } } */ |
5 | |
6 | |
7 | void f(void) |
8 | { |
9 | volatile _Atomic int x; |
10 | x; |
11 | volatile _Atomic double a; |
12 | double b; |
13 | b = a; |
14 | } |
15 | |