This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix bug in fold_div_compare


> 2006-10-10  Eric Botcazou  <ebotcazou@adacore.com>
>
> 	* fold-const.c (add_double): Rename to add_double_with_sign.
> 	Add 'unsigned_p' parameter and take it into account for the overflow.
> 	(mul_double): Rename to mul_double_with_sign.
> 	Add 'unsigned_p' parameter and take it into account for the overflow.
> 	(fold_div_compare): Call add_double_with_sign instead of add_double
> 	and mul_double_with_sign instead of mul_double, passing them the
> 	unsignedness of the type.
> 	* tree.h (add_double): Macroize.
> 	(add_double_with_sign): New prototype.
> 	(mul_double): Macroize.
> 	(mul_double_with_sign): New prototype.

Ping: http://gcc.gnu.org/ml/gcc-patches/2006-10/msg00576.html

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]