This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34914] [4.1/4.2/4.3 regression] Broken diagnostic: 'offset_type' not supported by pp_c_type_specifier
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2008 11:40:03 -0000
- Subject: [Bug c++/34914] [4.1/4.2/4.3 regression] Broken diagnostic: 'offset_type' not supported by pp_c_type_specifier
- References: <bug-34914-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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