PR c++/55513
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 Dec 2012 01:19:13 +0000 (01:19 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 Dec 2012 01:19:13 +0000 (01:19 +0000)
commitc5fe651b8192c68a5fad8b1c75ee5fbff95c7bd6
tree4c535a0da796f017a8885686ffc62ef2d9e1130a
parentb93a283dd3d34990e643e7d135880d399616ad43
PR c++/55513
* semantics.c (cxx_eval_builtin_function_call): Set non_constant_p
after folding.

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