[Bug c++/35758] [4.3/4.4 Regression] vector_size attribute lost in function arguments for templates
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Mar 31 11:11:00 GMT 2008
------- Comment #8 from jakub at gcc dot gnu dot org 2008-03-31 11:11 -------
I think this shows that "vector_size" attribute can't be a late template
attribute whenever processing_template_decl, it can be only a late template
attribute if the decl is actually type or value dependent.
So I believe we need to remove the vector_size special case from
is_late_template_attribute, but then either something like the
http://gcc.gnu.org/ml/gcc-patches/2008-01/msg01020.html (second patch)
hack to reconstruct the types, or use a langhook in
handle_vector_size_attribute
for reconstruct_complex_type (defaulting to tree.c reconstruct_complex_type
everywhere but in C++).
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35758
More information about the Gcc-bugs
mailing list