diff options
| author | grahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-23 06:34:51 +0000 |
|---|---|---|
| committer | grahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-23 06:34:51 +0000 |
| commit | 54bc85f75c68ed0a45d6490074c1a2bd9bc6f4e4 (patch) | |
| tree | b9ba31d540aca7888d0f247dddc89a2b53268d55 | |
| parent | 06deaf7e17285160673edb738c4654408817e703 (diff) | |
| download | ppe42-gcc-54bc85f75c68ed0a45d6490074c1a2bd9bc6f4e4.tar.gz ppe42-gcc-54bc85f75c68ed0a45d6490074c1a2bd9bc6f4e4.zip | |
* cp/class.c (type_requires_array_cookie): Fix use of uninitialised
variable has_two_argument_delete_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44256 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/cp/class.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ed073c1ae37..98bae08fd3b 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2001-07-23 Graham Stott <grahams@redhat.com> + + * cp/class.c (type_requires_array_cookie): Fix use of uninitialised + variable has_two_argument_delete_p. + 2001-07-21 Nathan Sidwell <nathan@codesourcery.com> Remove flag_vtable_thunk. It is always on for the 3.0 ABI. diff --git a/gcc/cp/class.c b/gcc/cp/class.c index 16677583883..be04e89e7d3 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -4304,7 +4304,7 @@ type_requires_array_cookie (type) tree type; { tree fns; - bool has_two_argument_delete_p; + bool has_two_argument_delete_p = false; my_friendly_assert (CLASS_TYPE_P (type), 20010712); |

