]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/85258
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Apr 2018 20:02:47 +0000 (20:02 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Apr 2018 20:02:47 +0000 (20:02 +0000)
commita34934c29c7b0bc8cf1a1101f13977661f3745ec
tree2ce0c031a7622545758ae62e0e2977a0ff82f60a
parentafad63208923c1ff4936361402cb80ecf909d32d
PR c++/85258
* constexpr.c (reduced_constant_expression_p): Return false for null
trees.

* g++.dg/parse/error61.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@259355 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/error61.C [new file with mode: 0644]