https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56292
Paolo Carlini changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Known to work|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56292
--- Comment #4 from lcid-fire at gmx dot net 2013-02-12 15:23:58 UTC ---
constexpr std::uint8_t value = func() + 2;
does generate the same warning.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56292
--- Comment #3 from Richard Biener 2013-02-12
12:29:28 UTC ---
Does it also warn if you make value a constexpr?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56292
--- Comment #2 from lcid-fire at gmx dot net 2013-02-12 10:13:17 UTC ---
But should it be evaluated before constexpr are processed?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56292
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Co