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++/34914] [4.1/4.2/4.3 regression] Broken diagnostic: 'offset_type' not supported by pp_c_type_specifier



------- Comment #3 from pinskia at gcc dot gnu dot org  2008-01-22 11:40 -------
(In reply to comment #2)
> Actually I think vector should apply to int here rather than to the pointer to
> member type.

That is the following should be accepted and should be the correct type:
struct A {};

void foo()
{
__attribute((vector_size(8)))   int A::* p ;
  p == 0;
}


-- 


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


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