aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/dmd
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2021-04-02 14:49:15 -0400
committerJason Merrill <jason@redhat.com>2021-04-03 01:54:03 -0400
commit23be03a0f243a084a0fe03d0b96a3d045e1a2b65 (patch)
tree3da73ac6f1e7c53f9cf75a1852453ffe966db3b8 /gcc/d/dmd
parentb7c1f3d66cfc171bc4e779068530101fb2f197f1 (diff)
downloadgcc-23be03a0f243a084a0fe03d0b96a3d045e1a2b65.zip
gcc-23be03a0f243a084a0fe03d0b96a3d045e1a2b65.tar.gz
gcc-23be03a0f243a084a0fe03d0b96a3d045e1a2b65.tar.bz2
c++: dependent attribute on parameter [PR97900]
We were copying attributes from the template to the instantiation without considering that they might be dependent. To make sure that the new parms have the appropriate properties for the code pattern, let's just regenerate them. gcc/cp/ChangeLog: PR c++/97900 * pt.c (regenerate_decl_from_template): tsubst_decl the parms. gcc/testsuite/ChangeLog: PR c++/97900 * g++.dg/ext/vector40.C: New test.
Diffstat (limited to 'gcc/d/dmd')
0 files changed, 0 insertions, 0 deletions