public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/67437] [5/6 Regression] Template can't use const value of explicitly instantiated instance in a const expression
[not found] <bug-67437-4@http.gcc.gnu.org/bugzilla/>
@ 2015-09-02 17:24 ` pinskia at gcc dot gnu.org
2015-09-02 17:25 ` pinskia at gcc dot gnu.org
2015-09-02 17:45 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2015-09-02 17:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67437
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Use c++11's constexpr instead. Double const can't be used in constant
expressions.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/67437] [5/6 Regression] Template can't use const value of explicitly instantiated instance in a const expression
[not found] <bug-67437-4@http.gcc.gnu.org/bugzilla/>
2015-09-02 17:24 ` [Bug c++/67437] [5/6 Regression] Template can't use const value of explicitly instantiated instance in a const expression pinskia at gcc dot gnu.org
@ 2015-09-02 17:25 ` pinskia at gcc dot gnu.org
2015-09-02 17:45 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2015-09-02 17:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67437
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
-fpremissive might allow this code though.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/67437] [5/6 Regression] Template can't use const value of explicitly instantiated instance in a const expression
[not found] <bug-67437-4@http.gcc.gnu.org/bugzilla/>
2015-09-02 17:24 ` [Bug c++/67437] [5/6 Regression] Template can't use const value of explicitly instantiated instance in a const expression pinskia at gcc dot gnu.org
2015-09-02 17:25 ` pinskia at gcc dot gnu.org
@ 2015-09-02 17:45 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2015-09-02 17:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67437
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11393#c28 .
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-09-02 17:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-67437-4@http.gcc.gnu.org/bugzilla/>
2015-09-02 17:24 ` [Bug c++/67437] [5/6 Regression] Template can't use const value of explicitly instantiated instance in a const expression pinskia at gcc dot gnu.org
2015-09-02 17:25 ` pinskia at gcc dot gnu.org
2015-09-02 17:45 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).