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-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8418192195e15b2bbefcf6e8fa886bf7aeebed91;p=platform%2Fupstream%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 cd6807a..59e0932 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 47fc705..d380186 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: