1 /* PR tree-optimization/58791 */
3 /* { dg-options "-g -ffast-math" } */
7 __attribute__((noinline
, noclone
)) double
8 foo (float a
, float b
, float c
, float d
, float l
, double u
)
12 double g
= (double) f
;
13 double h
= (double) b
;
14 double i
= g
* h
; /* { dg-final { gdb-test pr58791-4.c:32 "i" "486" { target { { i?86-*-* x86_64-*-* } && lp64 } } } } */
15 double i2
= i
+ 1.0; /* { dg-final { gdb-test pr58791-4.c:32 "i2" "487" { target { { i?86-*-* x86_64-*-* } && lp64 } } } } */
19 double n
= (double) m
;
20 double o
= (double) a
;
25 double t
= (double) c
;
31 asm volatile (NOP
: : : "memory");
32 asm volatile (NOP
: : : "memory");
39 foo (3.0f
, 2.0f
, -1.0f
, 9.0f
, 1.0f
, 2.0);