2 /* { dg-do compile } */
5 fn1 (double h
, double l
) /* { dg-message "previous definition" } */
9 double fn1 (double, double) __attribute__ ((optimize ("no-associative-math"))); /* { dg-warning "optimization attribute" } */
11 __attribute__ ((optimize ("no-associative-math"))) double
12 fn2 (double h
, double l
)
16 double fn2 (double, double) __attribute__ ((optimize ("no-associative-math")));
18 __attribute__ ((optimize ("no-associative-math"))) double
19 fn3 (double h
, double l
) /* { dg-message "previous definition" } */
23 double fn3 (double, double) __attribute__ ((optimize ("O2,no-associative-math"))); /* { dg-warning "optimization attribute" } */
25 __attribute__ ((optimize ("no-associative-math,O2"))) double
26 fn4 (double h
, double l
) /* { dg-message "previous definition" } */
30 double fn4 (double, double) __attribute__ ((optimize ("O2,no-associative-math"))); /* { dg-warning "optimization attribute" } */
32 __attribute__ ((optimize ("no-reciprocal-math"), optimize ("no-associative-math"))) int
37 int __attribute__ ((optimize ("no-associative-math"), optimize ("no-reciprocal-math"))) fn5 (void);