This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Don't constant fold sqrt(-1) at the tree-level
- From: Richard Henderson <rth at redhat dot com>
- To: Roger Sayle <roger at www dot eyesopen dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Andreas Jaeger <aj at suse dot de>
- Date: Wed, 15 Jan 2003 01:10:22 -0800
- Subject: Re: [PATCH] Don't constant fold sqrt(-1) at the tree-level
- References: <Pine.LNX.4.44.0301130724380.5632-100000@www.eyesopen.com>
On Mon, Jan 13, 2003 at 07:47:12AM -0700, Roger Sayle wrote:
> * real.c (real_sqrt): Return a bool result indicating whether
> a floating point exception or trap should be raised.
> * real.h (real_sqrt): Update function prototype.
> * builtins.c (fold_builtin): Only fold non-trapping square
> roots unless we're ignoring errno and trapping math.
Ok.
r~