* tree.c (free_lang_data_in_one_sizepos): New inline function.
commit621b002b1fbe2e8e52eeb5981a6f372a80129541
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 May 2010 17:47:52 +0000 (4 17:47 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 May 2010 17:47:52 +0000 (4 17:47 +0000)
tree9c07bd40cf2fbaf22796139526d1ed47478b6791
parent32efc3633be05efd97f694176bf920738b274702
* tree.c (free_lang_data_in_one_sizepos): New inline function.
(free_lang_data_in_type): Call it on TYPE_{MIN|MAX}_VALUE of numerical
types.  Call it on TYPE_SIZE and TYPE_SIZE_UNIT of all types.
(free_lang_data_in_decl): Call it on DECL_SIZE and DECL_SIZE_UNIT of
all decls.  Call it on DECL_FIELD_OFFSET of fields.
(find_decls_types_r): Follow DECL_VALUE_EXPR.
(iterative_hash_expr) <PLACEHOLDER_EXPR>: New case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159039 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/lto1.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/lto1_pkg.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/lto1_pkg.ads [new file with mode: 0644]
gcc/tree.c