2018-01-24 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr41574.c
blob062c0044532c0681e2e238f14500d2afd9a1c7ed
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fno-unsafe-math-optimizations -fdump-rtl-combine" { target { arm*-*-* } } } */
3 /* { dg-options "-O2 -fno-unsafe-math-optimizations -fdump-rtl-combine" { target { ! arm*-*-* } } } */
6 static const double one=1.0;
8 double
9 f(double x)
11 return x*(one+x);
14 /* { dg-final { scan-rtl-dump-not "\\(plus:DF \\(mult:DF" "combine" } } */