Commit 5dac7dbd by John David Anglin

re PR middle-end/68743 (FAIL: gfortran.dg/aint_anint_1.f90 -O0 execution test)

	PR middle-end/68743
	* match.pd: Require target has function_c99_misc before doing
	truncl(extend(x)) and trunc(extend(x)) -> extend(truncf(x)), etc.

From-SVN: r232191
parent 72665d8d
2016-01-09 John David Anglin <danglin@gcc.gnu.org>
PR middle-end/68743
* match.pd: Require target has function_c99_misc before doing
truncl(extend(x)) and trunc(extend(x)) -> extend(truncf(x)), etc.
2016-01-09 Gerald Pfeifer <gerald@pfeifer.com>
* configure.ac (isl_options_set_schedule_serialize_sccs): Also
......
......@@ -2784,7 +2784,8 @@ DEFINE_INT_AND_FLOAT_ROUND_FN (RINT)
BUILT_IN_RINTF BUILT_IN_RINTF)
/* truncl(extend(x)) and trunc(extend(x)) -> extend(truncf(x)), etc.,
if x is a float. */
(if (optimize && canonicalize_math_p ())
(if (optimize && canonicalize_math_p ()
&& targetm.libc_has_function (function_c99_misc))
(simplify
(froms (convert float_value_p@0))
(convert (tos @0)))))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment