[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    [Bug c++/21089] [4.0/4.1 Regression] C++ front-end does not "inline" the static const double
From:       "mmitchel at gcc dot gnu dot org" <gcc-bugzilla () gcc ! gnu ! org>
Date:       2010-08-31 17:41:02
Message-ID: 20100831174102.9667.qmail () sourceware ! org
[Download RAW message or body]



------- Comment #29 from mmitchel at gcc dot gnu dot org  2010-08-31 17:41 -------
Jason --

I can't argue with that as a literal reading of the standard, but is there any
reason why the standard doesn't allow const float variables in (not necessarily
integral) constant expressions just as we allow const int variables?

-- Mark


-- 


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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic