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

2012-02-05 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52119 --- Comment #5 from paolo at gcc dot gnu.org 2012-02-05 12:58:56 UTC --- Author: paolo Date: Sun Feb 5 12:58:51 2012 New Revision: 183905 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183905 Log: 2012-02-05 Jeffrey Yasskin Pa

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

2012-02-04 Thread jyasskin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52119 --- Comment #4 from Jeffrey Yasskin 2012-02-05 02:04:00 UTC --- I hadn't tested #define __glibcxx_min(T) \ (__glibcxx_signed (T) ? -__glibcxx_max(T) - 1 : (T)0) but now I have, and it works with clang.

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

2012-02-04 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52119 Paolo Carlini changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #3 f

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

2012-02-04 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52119 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

2012-02-03 Thread richard-gccbugzilla at metafoo dot co.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52119 Richard Smith changed: What|Removed |Added CC||richard-gccbugzilla at