[Bug c/32099] a constant value is said to be not constant

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat May 26 18:27:00 GMT 2007



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-05-26 18:26 -------
No, sin(0) is not constant in C.  C has specific rules about constant
expression.  You can use __builtin_sin(0) to always get the constant folding.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32099



More information about the Gcc-bugs mailing list