[PATCH]: add folding of builtin modf

Kaz Kojima kkojima@rr.iij4u.or.jp
Mon Feb 26 20:41:00 GMT 2007


Hi,

"Kaveh R. GHAZI" <ghazi@caip.rutgers.edu> wrote:
> 2007-02-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
> 
> 	* builtins.c (fold_builtin_modf): New.
> 	(fold_builtin_2): Use it.
> 
> testsuite:
> 	* gcc.dg/torture/builtin-modf-1.c: New test.

It seems that this test needs -fno-finite-math-only on sh*-*-*.

http://gcc.gnu.org/ml/gcc-testresults/2007-02/msg01029.html

Regards,
	kaz



More information about the Gcc-patches mailing list