This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/32099] not constant folding sin
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jun 2007 03:23:26 -0000
- Subject: [Bug middle-end/32099] not constant folding sin
- References: <bug-32099-14609@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pinskia at gcc dot gnu dot org 2007-06-10 03:23 -------
This is an extension that GCC allows some constant folding with some functions.
So this is just a missed optimization of not constant folding sin.
And yes this is fixed in 4.3.0 by the use of MPFR.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Component|c |middle-end
Keywords| |missed-optimization
Resolution| |FIXED
Summary|a constant value is said to |not constant folding sin
|be not constant |
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32099