OSDN Git Service

2000-10-07 Anthony Green <green@redhat.com>
authorgreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 8 Oct 2000 19:14:32 +0000 (19:14 +0000)
committergreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 8 Oct 2000 19:14:32 +0000 (19:14 +0000)
* class.c (layout_class): Handle case where superclass can't be
layed out yet.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36789 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/java/ChangeLog
gcc/java/class.c

index c392f6b..a1ef24f 100644 (file)
@@ -1,3 +1,8 @@
+2000-10-07  Anthony Green  <green@redhat.com>
+
+       * class.c (layout_class): Handle case where superclass can't be
+       layed out yet.
+
 2000-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
 
        * Makefile.in (keyword.h): Refer to GNU FTP site for updated
@@ -152,7 +157,6 @@ Wed Sep 13 11:50:35 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
        (argument_types_convertible): Likewise.
        (patch_cast): Rename wfl_op parameter to avoid macro conflicts.
        
->>>>>>> 1.531
 2000-09-14  Tom Tromey  <tromey@cygnus.com>
 
        * lex.h: Use HAVE_ICONV_H, not HAVE_ICONV.
index 3d4e583..b029da5 100644 (file)
@@ -1839,8 +1839,10 @@ layout_class (this_class)
 
   if (super_class)
     {
-      super_class = maybe_layout_super_class (super_class, this_class);
-      if (TREE_CODE (TYPE_SIZE (super_class)) == ERROR_MARK)
+      tree maybe_super_class 
+       = maybe_layout_super_class (super_class, this_class);
+      if (maybe_super_class == NULL
+         || TREE_CODE (TYPE_SIZE (maybe_super_class)) == ERROR_MARK)
        {
          TYPE_SIZE (this_class) = error_mark_node;
          CLASS_BEING_LAIDOUT (this_class) = 0;