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: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Oct 2009 02:27:55 -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 #10 from joseph at codesourcery dot com 2009-10-14 02:27 -------
Subject: Re: Evaluate complex math functions at
compile-time
On Wed, 14 Oct 2009, ghazi at gcc dot gnu dot org wrote:
> Support for the "arc" functions is done in the mpc svn repository which will be
> released as mpc-0.8 at the end of October. Use of these functions has been
> checked into mainline. All C99 builtin complex math functions are done; well,
> except for cproj because that has a wierd non-c99 implementation in glibc.
I don't see why one particular library having a bug in its implementation
of cproj should prevent GCC from optimizing that function correctly for
constant arguments.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30447