]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/ChangeLog
re PR c++/70323 (missing error on integer overflow in constexpr function result conve...
authorJason Merrill <jason@redhat.com>
Thu, 24 Mar 2016 17:59:58 +0000 (13:59 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 24 Mar 2016 17:59:58 +0000 (13:59 -0400)
commit52228180f1e50cbb082c843b933dc87d573dbfe6
tree5f4e4afced43d7472eef24ae5fe96be0e9768f34
parent8f085166f8aa480bd623ae49d17ec06915b74495
re PR c++/70323 (missing error on integer overflow in constexpr function result converted to bool)

PR c++/70323

* constexpr.c (cxx_eval_call_expression): Don't cache result if
*overflow_p.

From-SVN: r234463
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/cpp0x/constexpr-70323a.C [new file with mode: 0644]