stor-layout.c (self_referential_component_ref_p): New predicate.
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 27 Apr 2015 10:29:07 +0000 (10:29 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 27 Apr 2015 10:29:07 +0000 (10:29 +0000)
commit232f1f97ad3ed549374769697eda3e872aab95f3
treea2c95407a69e695e95bc79c88324215c682d8408
parente5115cf9bcfb46f6cc0df6486fee510cbf246640
stor-layout.c (self_referential_component_ref_p): New predicate.

* stor-layout.c (self_referential_component_ref_p): New predicate.
(copy_self_referential_tree_r): Use it.
(self_referential_size): Punt for simple operations directly involving
self-referential component references.
* tree-cfg.c (dump_function_to_file): Add missing final curly bracket.

From-SVN: r222456
gcc/ChangeLog
gcc/stor-layout.c
gcc/tree-cfg.c