diff options
author | Jason Merrill <jason@redhat.com> | 2007-09-18 18:50:03 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2007-09-18 18:50:03 -0400 |
commit | 5044ab0e64544ee48062cfd2498ce3e11bd49b83 (patch) | |
tree | 2ee8091936fa9f80661d3131455c96b63fb43a40 /libgcc | |
parent | 80a6ca747aa083f973741bace6b07f12f2933c49 (diff) | |
download | gcc-5044ab0e64544ee48062cfd2498ce3e11bd49b83.zip gcc-5044ab0e64544ee48062cfd2498ce3e11bd49b83.tar.gz gcc-5044ab0e64544ee48062cfd2498ce3e11bd49b83.tar.bz2 |
re PR c++/17743 (dependent expressions in attributes)
PR c++/17743
* pt.c (apply_late_template_attributes): Set processing_template_decl.
(tsubst_decl) [TYPE_DECL]: Preserve naming typedef, pass
ATTR_FLAG_TYPE_IN_PLACE.
(tsubst): Do unqualified lookup to find typedefs from current class.
[ARRAY_TYPE]: Propagate alignment info.
* decl2.c (is_late_template_attribute): Only defer handling of
attribute aligned if the expression is dependent.
(save_template_attributes): If we're deferring any attributes,
make this a naming typedef.
From-SVN: r128590
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions