This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/61660] static_assert triggering when it should not
- From: "us15 at os dot inf.tu-dresden.de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 30 Jun 2014 18:02:07 +0000
- Subject: [Bug c++/61660] static_assert triggering when it should not
- Auto-submitted: auto-generated
- References: <bug-61660-4 at http dot gcc dot gnu dot org/bugzilla/>
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.