From: Jason Merrill Date: Tue, 12 Oct 1999 01:15:02 +0000 (+0000) Subject: * class.c (fixed_type_or_null): Always set *nonnull. X-Git-Tag: prereleases/libstdc++-2.92~10123 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8418192195e15b2bbefcf6e8fa886bf7aeebed91;p=thirdparty%2Fgcc.git * class.c (fixed_type_or_null): Always set *nonnull. From-SVN: r29905 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index cd6807acc2ad..59e0932ec1f5 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +1999-10-11 Jason Merrill + + * class.c (fixed_type_or_null): Always set *nonnull. + 1999-10-10 Kaveh R. Ghazi * cp-tree.h: Use HAVE_GCC_VERSION instead of explicitly testing diff --git a/gcc/cp/class.c b/gcc/cp/class.c index 47fc70522660..d3801867e671 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -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: