Don't warn when alignment of global common data exceeds maximum alignment.
[official-gcc.git] / gcc / testsuite / gdc.dg / attr_optimize3.d
blob2a9ad1230366c2ec705d68fd10dba415a38d3cbe
1 // { dg-do compile }
2 // { dg-options "-O0 -fdump-tree-optimized-raw" }
4 import gcc.attributes;
6 double notfast(double x)
8 return x * x * x * x * x * x * x * x;
11 // { dg-final { scan-tree-dump-times "mult_expr, _" 7 "optimized" } }
13 @fastmath
14 static double fast(double x)
16 return x * x * x * x * x * x * x * x;
19 // { dg-final { scan-tree-dump-times "mult_expr, powmult_" 3 "optimized" } }