This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/35758] [4.3/4.4 Regression] vector_size attribute lost in function arguments for templates



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]