re PR c++/55513 (Incorrect snprintf folding when building with -std=c++0x)
authorAldy Hernandez <aldyh@redhat.com>
Sat, 8 Dec 2012 01:19:13 +0000 (01:19 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Sat, 8 Dec 2012 01:19:13 +0000 (01:19 +0000)
commit3da2b176b387f367a02f5299607204ee6b27e359
tree4c535a0da796f017a8885686ffc62ef2d9e1130a
parentcea55d343c4e04b1c2bd568d809c791f8c98c088
re PR c++/55513 (Incorrect snprintf folding when building with -std=c++0x)

PR c++/55513
* semantics.c (cxx_eval_builtin_function_call): Set non_constant_p
after folding.

From-SVN: r194316
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/g++.dg/pr55513.C [new file with mode: 0644]