aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2000-03-15 09:45:39 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2000-03-15 09:45:39 +0000
commitf78c7bc6280150d3631c99918540fd294b50f80a (patch)
tree5adaac7ca151d683aaf23684b59764977b99e2c1 /gcc
parent324ed8fdf2a3a7a6509ae1db9ca6bf877e24b96c (diff)
downloadgcc-f78c7bc6280150d3631c99918540fd294b50f80a.zip
gcc-f78c7bc6280150d3631c99918540fd294b50f80a.tar.gz
gcc-f78c7bc6280150d3631c99918540fd294b50f80a.tar.bz2
decl.c (cp_finish_decl): Remove obsolete comment.
* decl.c (cp_finish_decl): Remove obsolete comment. * typeck.c (build_ptrmemfunc1): Kill uninitialized warning. From-SVN: r32557
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog6
-rw-r--r--gcc/cp/decl.c7
-rw-r--r--gcc/cp/typeck.c2
3 files changed, 8 insertions, 7 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 99a8d4d..f73c824 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,9 @@
+2000-03-15 Nathan Sidwell <nathan@codesourcery.com>
+
+ * decl.c (cp_finish_decl): Remove obsolete comment.
+
+ * typeck.c (build_ptrmemfunc1): Kill uninitialized warning.
+
2000-03-14 Mark Mitchell <mark@codesourcery.com>
* cp-tree.h: Tweak documentation.
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 7bdcca9..fdb35b2 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -7844,12 +7844,7 @@ emit_local_var (decl)
the normal rules.
FLAGS is LOOKUP_ONLYCONVERTING if the = init syntax was used, else 0
- if the (init) syntax was used.
-
- For functions that take default parameters, DECL points to its
- "maximal" instantiation. `cp_finish_decl' must then also declared its
- subsequently lower and lower forms of instantiation, checking for
- ambiguity as it goes. This can be sped up later. */
+ if the (init) syntax was used. */
void
cp_finish_decl (decl, init, asmspec_tree, flags)
diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c
index aed8bb3..6e1b667 100644
--- a/gcc/cp/typeck.c
+++ b/gcc/cp/typeck.c
@@ -6077,7 +6077,7 @@ tree
build_ptrmemfunc1 (type, delta, idx, pfn, delta2)
tree type, delta, idx, pfn, delta2;
{
- tree u;
+ tree u = NULL_TREE;
tree delta_field;
tree idx_field;
tree pfn_or_delta2_field;