diff options
author | Jason Merrill <jason@yorick.cygnus.com> | 1999-10-12 01:15:02 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1999-10-11 21:15:02 -0400 |
commit | 8418192195e15b2bbefcf6e8fa886bf7aeebed91 (patch) | |
tree | 75b4978816bb71c6bfcbe5b87b676de5f75af501 /gcc/cp | |
parent | 5f537f6c867408e1e8fb10b253878e30ac4d7abc (diff) | |
download | gcc-8418192195e15b2bbefcf6e8fa886bf7aeebed91.zip gcc-8418192195e15b2bbefcf6e8fa886bf7aeebed91.tar.gz gcc-8418192195e15b2bbefcf6e8fa886bf7aeebed91.tar.bz2 |
* class.c (fixed_type_or_null): Always set *nonnull.
From-SVN: r29905
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/class.c | 3 |
2 files changed, 7 insertions, 0 deletions
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 <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 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: |