aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2023-12-12 23:48:57 -0500
committerJason Merrill <jason@redhat.com>2023-12-13 11:25:13 -0500
commit52b4b7d7f5c7c09f5aaf3934978de9702d8c214b (patch)
tree2b9f14515fe9a5108f51944d6d9518ec50901087 /libcpp
parentd2b269ce30d77dbfc6c28c75887c330d4698b132 (diff)
downloadgcc-52b4b7d7f5c7c09f5aaf3934978de9702d8c214b.zip
gcc-52b4b7d7f5c7c09f5aaf3934978de9702d8c214b.tar.gz
gcc-52b4b7d7f5c7c09f5aaf3934978de9702d8c214b.tar.bz2
c++: copy location to AGGR_INIT_EXPR
When building an AGGR_INIT_EXPR from a CALL_EXPR, we shouldn't lose location information. gcc/cp/ChangeLog: * tree.cc (build_aggr_init_expr): Copy EXPR_LOCATION. gcc/testsuite/ChangeLog: * g++.dg/cpp1y/constexpr-nsdmi7b.C: Adjust line. * g++.dg/template/copy1.C: Likewise.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions