diff options
author | Jason Merrill <jason@redhat.com> | 2022-04-13 21:56:03 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2022-04-13 21:56:43 -0400 |
commit | 8369b4e4c6433535981d377edc1d4abb799c9225 (patch) | |
tree | f8c984355172013ae244a8055c54f29bd5729df4 /libstdc++-v3/include/std/version | |
parent | 1824da60663b4532199ecd051d8ba6da8995821d (diff) | |
download | gcc-8369b4e4c6433535981d377edc1d4abb799c9225.zip gcc-8369b4e4c6433535981d377edc1d4abb799c9225.tar.gz gcc-8369b4e4c6433535981d377edc1d4abb799c9225.tar.bz2 |
c++: alignment of local typedef in template [PR65211]
Because common_handle_aligned_attribute only applies the alignment to the
TREE_TYPE of a typedef, not the DECL_ORIGINAL_TYPE, we need to copy it
explicitly in tsubst.
PR c++/65211
gcc/cp/ChangeLog:
* pt.cc (tsubst_decl) [TYPE_DECL]: Copy TYPE_ALIGN.
gcc/testsuite/ChangeLog:
* g++.target/i386/vec-tmpl1.C: New test.
Diffstat (limited to 'libstdc++-v3/include/std/version')
0 files changed, 0 insertions, 0 deletions