[PATCH]: enhance and use fold_strip_sign_ops more often

Roger Sayle roger@eyesopen.com
Sat Nov 11 02:03:00 GMT 2006


On Fri, 10 Nov 2006, Kaveh R. GHAZI wrote:
> 2006-11-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
>
> 	* builtins.c (fold_builtin_cos): Use fold_strip_sign_ops().
> 	(fold_builtin_hypot): Likewise.
> 	* fold-const.c (fold_strip_sign_ops): Handle "odd" builtins.
>
> 	* gcc.dg/builtins-20.c: Add more cases for stripping sign ops.

Cool!  This is OK for mainline.  Thanks.

Roger
--



More information about the Gcc-patches mailing list