This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26654] pointers to 16-byte aligned ints are rejected in member functions
- From: "dubos at lmd dot polytechnique dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Mar 2006 18:42:01 -0000
- Subject: [Bug c++/26654] pointers to 16-byte aligned ints are rejected in member functions
- References: <bug-26654-10651@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from dubos at lmd dot polytechnique dot fr 2006-03-12 18:42 -------
(In reply to comment #1)
> This comes down to PR 19893.
>
Thanks for commenting on this. I fully agree that arrays of aint should be
rejected. The point is that there are no arrays here, only pointers.
The error would not come up if arrays of aint were accepted, but this would
only be a workaround. The real question is (well, as far as I understand) : why
does g++ complain about illegal arrays, while in fact there are only pointers
here ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26654