* gcc-interface/trans.c (process_type): Beef up comment.
From-SVN: r237126
This commit is contained in:
parent
62801a777a
commit
5a4916beb8
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
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
|
||||
|
|
|
@ -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
|
||||
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)
|
||||
{
|
||||
gcc_assert (TREE_CODE (gnu_old) == TYPE_DECL
|
||||
|
|
Loading…
Add table
Reference in a new issue