This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/53101] Recognize casts to sub-vectors
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 16 Nov 2012 23:03:47 +0000
- Subject: [Bug target/53101] Recognize casts to sub-vectors
- Auto-submitted: auto-generated
- References: <bug-53101-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53101
--- Comment #7 from Marc Glisse <glisse at gcc dot gnu.org> 2012-11-16 23:03:47 UTC ---
Created attachment 28713
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28713
Tweak on the patch of PR48037
This is a slight extension of Richard's patch for PR 48037. It needs testing
and doesn't solve the real problem (which is at the RTL level).
I am not sure if BIT_FIELD_REF (a mention of that tree in doc/generic.texi
would be nice) is allowed to refer to an unaligned subvector, the patch allows
it as long as the elements are aligned. See PR 55359 for a related issue.