From 8418192195e15b2bbefcf6e8fa886bf7aeebed91 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Tue, 12 Oct 1999 01:15:02 +0000 Subject: [PATCH] * class.c (fixed_type_or_null): Always set *nonnull. From-SVN: r29905 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/class.c | 3 +++ 2 files changed, 7 insertions(+) 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: -- 2.7.4