* gimple.h (compare_field_offset): Rename into...
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 May 2010 19:05:06 +0000 (19:05 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 May 2010 19:05:06 +0000 (19:05 +0000)
commita107223431e030ac4b0e41c1f956ae43a63a5aa5
tree9ec7215e04633e60cb2651e0efe00d834802916f
parent7858b562839bc05caf0e0586bcae129b022dff5f
* gimple.h (compare_field_offset): Rename into...
(gimple_compare_field_offset): ...this.
* gimple.c (compare_field_offset): Rename into...
(gimple_compare_field_offset): ...this.  Compare the full access if
the offset is self-referential.
(gimple_types_compatible_p): Adjust for above renaming.
* lto-streamer-in.c (input_gimple_stmt): Likewise.  Also compare the
DECL_NONADDRESSABLE_P flag of fields before merging them.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159438 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimple.c
gcc/gimple.h
gcc/lto-streamer-in.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/lto9.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/lto9_pkg1.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/lto9_pkg2.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/lto9_pkg2.ads [new file with mode: 0644]