This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]