* class.c (fixed_type_or_null): Always set *nonnull.
authorJason Merrill <jason@yorick.cygnus.com>
Tue, 12 Oct 1999 01:15:02 +0000 (01:15 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 12 Oct 1999 01:15:02 +0000 (21:15 -0400)
From-SVN: r29905

gcc/cp/ChangeLog
gcc/cp/class.c

index cd6807a..59e0932 100644 (file)
@@ -1,3 +1,7 @@
+1999-10-11  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * class.c (fixed_type_or_null): Always set *nonnull.
+
 1999-10-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * cp-tree.h: Use HAVE_GCC_VERSION instead of explicitly testing
index 47fc705..d380186 100644 (file)
@@ -4270,6 +4270,9 @@ fixed_type_or_null (instance, nonnull)
      tree instance;
      int *nonnull;
 {
+  if (nonnull)
+    *nonnull = 0;
+
   switch (TREE_CODE (instance))
     {
     case INDIRECT_REF: