* tree-inline.c (inline_forbidden_p_1, case RECORD_TYPE): Add comment.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Sun, 28 Nov 2004 14:02:56 +0000 (14:02 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Sun, 28 Nov 2004 14:02:56 +0000 (09:02 -0500)
From-SVN: r91420

gcc/ChangeLog
gcc/tree-inline.c

index 3a75806..74ea331 100644 (file)
@@ -1,3 +1,7 @@
+2004-11-28  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * tree-inline.c (inline_forbidden_p_1, case RECORD_TYPE): Add comment.
+
 2004-11-28  Ulrich Weigand  <uweigand@de.ibm.com>
 
        PR rtl-optimization/18420
index a662989..2187649 100644 (file)
@@ -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))
          {