summaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-28 14:02:56 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-28 14:02:56 +0000
commit8825056a8d4150696547ff25ea885e21524d49bb (patch)
tree93d8ce870ef2939fae6aae5385727be255791fc8 /gcc/tree-inline.c
parentaf4ced458f1481d7d255b684c5d557bfae57d569 (diff)
downloadgcc-8825056a8d4150696547ff25ea885e21524d49bb.tar.gz
* tree-inline.c (inline_forbidden_p_1, case RECORD_TYPE): Add comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91420 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index a6629895b43..218764996f0 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -1036,7 +1036,10 @@ inline_forbidden_p_1 (tree *nodep, int *walk_subtrees ATTRIBUTE_UNUSED,
UNION_TYPE nodes, then it goes into infinite recursion on a
structure containing a pointer to its own type. If it doesn't,
then the type node for S doesn't get adjusted properly when
- F is inlined, and we abort in find_function_data. */
+ F is inlined, and we abort in find_function_data.
+
+ ??? This is likely no longer true, but it's too late in the 4.0
+ cycle to try to find out. This should be checked for 4.1. */
for (t = TYPE_FIELDS (node); t; t = TREE_CHAIN (t))
if (variably_modified_type_p (TREE_TYPE (t), NULL))
{