[Bug c++/52119] numeric_limits::min() is not a constant expression

2012-02-13 Thread richard-gccbugzilla at metafoo dot co.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52119 --- Comment #8 from Richard Smith 2012-02-13 22:17:27 UTC --- Signed left shift which overflows the corresponding unsigned type is still undefined, so g++ should reject this: constexpr int n = 2 << 31;

[Bug c++/52119] numeric_limits::min() is not a constant expression

2012-02-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52119 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug c++/52119] numeric_limits::min() is not a constant expression

2012-02-05 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52119 Paolo Carlini changed: What|Removed |Added Keywords||accepts-invalid Component|libstd