------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-12 
21:31 -------
Another example (which is rejected):
#include <stdio.h>
template < typename Val > struct S {
typedef Val vector_type __attribute__((vector_size(16)));
void pr_size() { printf ("size = %d\n", sizeof(vector_type)); }
};
int main()
{
printf ("size = %d\n", sizeof(S < float >::vector_type));
S<float> x;
x.pr_size();
return 0;
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |rejects-valid, wrong-code
   Last reconfirmed|0000-00-00 00:00:00         |2005-01-12 21:31:53
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19407

Reply via email to