------- 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

Reply via email to