[autovect] [patch] Extend a support for COMPONENT_REFs.
Ira Rosen
IRAR@il.ibm.com
Sun Jun 12 08:55:00 GMT 2005
This patch extends a support for COMPONENT_REFs: in functions
record_ptr_differ_p and record_array_differ_p we now peel the data-refs
until we get a declaration or an INDIRECT_REF, e.g., for 'a.b.c[]' we will
get 'a' and then decide if it differs from the second data-ref.
Bootstrapped and tested on ppc-darwin.
Committed to autovect branch.
Ira
ChangeLog entry:
* tree-data-ref.c (record_ptr_differ_p): Peel COMPONENT_REFs to get
to the base.
(record_array_differ_p): Likewise.
Patch:
(See attached file: diff.june12)
Testcases:
(See attached file: vect-115.c)(See attached file: vect-7.f90)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff.june12
Type: application/octet-stream
Size: 4962 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050612/5e32e8bf/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vect-115.c
Type: application/octet-stream
Size: 1043 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050612/5e32e8bf/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vect-7.f90
Type: application/octet-stream
Size: 607 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050612/5e32e8bf/attachment-0002.obj>
More information about the Gcc-patches
mailing list