r118733 - in /trunk/gcc: ChangeLog builtins.c f...

ghazi@gcc.gnu.org ghazi@gcc.gnu.org
Sun Nov 12 23:51:00 GMT 2006


Author: ghazi
Date: Sun Nov 12 23:51:36 2006
New Revision: 118733

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118733
Log:
	* builtins.c (fold_builtin_cosh): New.
	(fold_builtin_1): Use it.
	* fold-const.c (negate_mathfn_p): Add llround, lround, round,
	trunc to the list of "odd" functions.  Also add llrint, lrint,
	rint and nearbyint when flag_rounding_math is false.

testsuite:
	* gcc.dg/torture/builtin-symmetric-1.c: Add more cases.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.c
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/torture/builtin-symmetric-1.c



More information about the Gcc-cvs mailing list