aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-inline-transform.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2016-03-25 17:29:26 -0400
committerJason Merrill <jason@gcc.gnu.org>2016-03-25 17:29:26 -0400
commitd7796e23a4a973afdc45897de4932c1e1bd3e898 (patch)
tree539f2664a65fff87648c21b1f5ed7a833fe023c8 /gcc/ipa-inline-transform.c
parent31ce75c698abe262a047888af4d02f280abc8ba1 (diff)
downloadgcc-d7796e23a4a973afdc45897de4932c1e1bd3e898.zip
gcc-d7796e23a4a973afdc45897de4932c1e1bd3e898.tar.gz
gcc-d7796e23a4a973afdc45897de4932c1e1bd3e898.tar.bz2
re PR c++/64266 (Can GCC produce local mergeable symbols for *.__FUNCTION__ and *.__PRETTY_FUNCTION__ functions?)
PR c++/64266 PR c++/70353 Core issue 1962 * decl.c (cp_fname_init): Decay the initializer to pointer. (cp_make_fname_decl): Set DECL_DECLARED_CONSTEXPR_P, DECL_VALUE_EXPR, DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P. Don't call cp_finish_decl. * pt.c (tsubst_expr) [DECL_EXPR]: Set DECL_VALUE_EXPR, DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P. Don't call cp_finish_decl. * constexpr.c (cxx_eval_constant_expression) [VAR_DECL]: Handle DECL_VALUE_EXPR. Co-Authored-By: Martin Liska <mliska@suse.cz> From-SVN: r234484
Diffstat (limited to 'gcc/ipa-inline-transform.c')
0 files changed, 0 insertions, 0 deletions