A broken diagnostic is issued for the following testcase since GCC 4.0.0: ============================================ struct A {};
void foo() { int A::* p __attribute((vector_size(8))); p == 0; } ============================================ bug.cc: In function 'void foo()': bug.cc:6: error: invalid operands of types '#'offset_type' not supported by pp_c_type_specifier#__vector__' and 'int' to binary 'operator==' -- Summary: [4.1/4.2/4.3 regression] Broken diagnostic: 'offset_type' not supported by pp_c_type_specifier Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: diagnostic, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34914