[Bug c++/56292] False positive for constexpr arithmetics (-Wconversion)

2014-11-18 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56292 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Known to work|

[Bug c++/56292] False positive for constexpr arithmetics (-Wconversion)

2013-02-12 Thread lcid-fire at gmx dot net
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.

[Bug c++/56292] False positive for constexpr arithmetics (-Wconversion)

2013-02-12 Thread rguenth at gcc dot gnu.org
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?

[Bug c++/56292] False positive for constexpr arithmetics (-Wconversion)

2013-02-12 Thread lcid-fire at gmx dot net
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?

[Bug c++/56292] False positive for constexpr arithmetics (-Wconversion)

2013-02-12 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56292 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Co