This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/70323] [6 regression] missing error on integer overflow in constexpr function result converted to bool
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 22 Mar 2016 10:09:41 +0000
- Subject: [Bug c++/70323] [6 regression] missing error on integer overflow in constexpr function result converted to bool
- Auto-submitted: auto-generated
- References: <bug-70323-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70323
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 38054
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38054&action=edit
gcc6-pr70323.patch
This seems like it would work, but haven't bootstrapped/regtested it yet.