Commit 5a4916be by Eric Botcazou Committed by Eric Botcazou

* gcc-interface/trans.c (process_type): Beef up comment.

From-SVN: r237126
parent 62801a77
2016-06-06 Eric Botcazou <ebotcazou@adacore.com> 2016-06-06 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/trans.c (process_type): Beef up comment.
2016-06-06 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/utils2.c (build_call_alloc_dealloc): Do not substitute * gcc-interface/utils2.c (build_call_alloc_dealloc): Do not substitute
placeholder expressions here but... placeholder expressions here but...
* gcc-interface/trans.c (gnat_to_gnu) <N_Free_Statement>: ...here. * gcc-interface/trans.c (gnat_to_gnu) <N_Free_Statement>: ...here.
......
...@@ -9512,7 +9512,9 @@ process_type (Entity_Id gnat_entity) ...@@ -9512,7 +9512,9 @@ process_type (Entity_Id gnat_entity)
/* If we saved away a dummy type for this node, it means that this made the /* If we saved away a dummy type for this node, it means that this made the
type that corresponds to the full type of an incomplete type. Clear that type that corresponds to the full type of an incomplete type. Clear that
type for now and then update the type in the pointers below. */ type for now and then update the type in the pointers below. But, if the
saved type is not dummy, it very likely means that we have a use before
declaration for the type in the tree, what we really cannot handle. */
if (gnu_old) if (gnu_old)
{ {
gcc_assert (TREE_CODE (gnu_old) == TYPE_DECL gcc_assert (TREE_CODE (gnu_old) == TYPE_DECL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment