diff options
author | Jason Merrill <jason@redhat.com> | 2020-05-25 19:04:05 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2020-05-27 10:05:36 -0400 |
commit | 7e7d9fcff56385812764cba63e1ebf6f4c6c0320 (patch) | |
tree | 03fd6be5b8acba5828f235a00df7b3cfb782f688 /gcc/tree-ssa-loop-split.c | |
parent | ac9face8d26ea4b6aa72902ecc22e89ef00763c5 (diff) | |
download | gcc-7e7d9fcff56385812764cba63e1ebf6f4c6c0320.zip gcc-7e7d9fcff56385812764cba63e1ebf6f4c6c0320.tar.gz gcc-7e7d9fcff56385812764cba63e1ebf6f4c6c0320.tar.bz2 |
c++: Fix stdcall attribute in template. [PR95222]
Another case that breaks with my fix for PR90750: we shouldn't move type
attributes in TYPENAME context either, as there's no decl for them to move
to.
gcc/cp/ChangeLog:
PR c++/95222
* decl.c (grokdeclarator): Don't shift attributes in TYPENAME
context.
gcc/testsuite/ChangeLog:
PR c++/95222
* g++.dg/ext/tmplattr10.C: New test.
Diffstat (limited to 'gcc/tree-ssa-loop-split.c')
0 files changed, 0 insertions, 0 deletions