* gcc.target/i386/cmov7.c (sgn): Renamed to ...
(foo): ... this. Change constants such that it isn't matched
as __builtin_copysign, yet tests the combiner the same.
From-SVN: r249729
+2017-06-28 Jakub Jelinek <jakub@redhat.com>
+
+ * gcc.target/i386/cmov7.c (sgn): Renamed to ...
+ (foo): ... this. Change constants such that it isn't matched
+ as __builtin_copysign, yet tests the combiner the same.
+
2017-06-28 Martin Liska <mliska@suse.cz>
PR sanitizer/81224
(set (reg:DF) (float_extend:DF (mem:SF (symbol_ref...)))). */
double
-sgn (double __x)
+foo (double __x)
{
- return __x >= 0.0 ? 1.0 : -1.0;
+ return __x >= 1.0 ? 0.0 : -1.0;
}