aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop-manip.cc
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2023-12-21 14:33:56 -0500
committerPatrick Palka <ppalka@redhat.com>2023-12-21 14:33:56 -0500
commit9a65c8ee659042babdb05ef15fea9910fa8d6e62 (patch)
tree240016041a781f272d059dd5b38a5cafc342d6fa /gcc/tree-vect-loop-manip.cc
parent7226f825db049517b64442a40a6387513febb8f9 (diff)
downloadgcc-9a65c8ee659042babdb05ef15fea9910fa8d6e62.zip
gcc-9a65c8ee659042babdb05ef15fea9910fa8d6e62.tar.gz
gcc-9a65c8ee659042babdb05ef15fea9910fa8d6e62.tar.bz2
c++: [[deprecated]] on template redecl [PR84542]
The deprecated and unavailable attributes weren't working when used on a template redeclaration ultimately because we weren't merging the corresponding tree flags in duplicate_decls. PR c++/84542 gcc/cp/ChangeLog: * decl.cc (merge_attribute_bits): Merge TREE_DEPRECATED and TREE_UNAVAILABLE. gcc/testsuite/ChangeLog: * g++.dg/ext/attr-deprecated-2.C: No longer XFAIL. * g++.dg/ext/attr-unavailable-12.C: New test.
Diffstat (limited to 'gcc/tree-vect-loop-manip.cc')
0 files changed, 0 insertions, 0 deletions