diff options
author | Jason Merrill <jason@redhat.com> | 2022-01-27 16:12:18 -0500 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2022-01-27 16:54:46 -0500 |
commit | 66b86171188dcb61d2d0e0a4a98a7467e58a84a7 (patch) | |
tree | 5fe8035bd150a33e933dc802f94e42a2756a14f9 /gcc/graph.cc | |
parent | ae1b50e2e03aad06408b64c876f5d0511121de0d (diff) | |
download | gcc-66b86171188dcb61d2d0e0a4a98a7467e58a84a7.zip gcc-66b86171188dcb61d2d0e0a4a98a7467e58a84a7.tar.gz gcc-66b86171188dcb61d2d0e0a4a98a7467e58a84a7.tar.bz2 |
c++: dependent and non-dependent attributes [PR104245]
A flaw in my patch for PR51344 was that cplus_decl_attributes calls
decl_attributes after save_template_attributes, which messes up the ordering
that save_template_attributes set up. Fixed by splitting
save_template_attributes around the call to decl_attributes.
PR c++/104245
PR c++/51344
gcc/cp/ChangeLog:
* decl2.cc (save_template_attributes): Take late attrs as parm.
(cplus_decl_attributes): Call it after decl_attributes,
splice_template_attributes before.
gcc/testsuite/ChangeLog:
* g++.dg/lto/alignas1_0.C: New test.
Diffstat (limited to 'gcc/graph.cc')
0 files changed, 0 insertions, 0 deletions