This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Move folding of round -> lround from convert.c to fold_unary
On Mon, Dec 12, 2005 at 11:32:24PM +0100, Richard Guenther wrote:
> * convert.c (convert_to_integer): Move folding of
> rounding functions ...
> * fold-const.c (fold_unary): ... here.
I guess this is ok, given that you allow fn to be null, and
most other languages won't define these builtins. But we should
come up with a plan to fix these problem proper.
r~