[Bug c++/61660] static_assert triggering when it should not

us15 at os dot inf.tu-dresden.de gcc-bugzilla@gcc.gnu.org
Mon Jun 30 18:02:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61660

--- Comment #5 from Udo Steinberg <us15 at os dot inf.tu-dresden.de> ---
(In reply to Andrew Pinski from comment #4)

> That is still correct s is not a constant expression.

Yes, I'm saying a similar warning should be emitted for x.



More information about the Gcc-bugs mailing list