This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/30447] Evaluate complex math functions at compile-time
- From: "ghazi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jan 2007 04:15:46 -0000
- Subject: [Bug middle-end/30447] Evaluate complex math functions at compile-time
- References: <bug-30447-578@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from ghazi at gcc dot gnu dot org 2007-01-25 04:15 -------
Subject: Bug 30447
Author: ghazi
Date: Thu Jan 25 04:15:26 2007
New Revision: 121163
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121163
Log:
PR middle-end/30447
* builtins.c (fold_builtin_cabs): Use MPFR to evaluate a
constant argument to cabs and do it without checking for
-funsafe-math-optimizations.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/builtins.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30447