This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/16374] Global variable rejected
- 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: 5 Jul 2004 20:35:00 -0000
- Subject: [Bug c/16374] Global variable rejected
- References: <20040705202641.16374.andreas.meier_@gmx.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-05 20:34 -------
global initailizers have to be constant and 4*atan(1.0) is not constant because there is a function call,
you can use the builtin functions like __builtin_atan(1.0) to get a constant value.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16374