decl.c (cp_finish_decl): Remove obsolete comment.
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 15 Mar 2000 09:45:39 +0000 (09:45 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 15 Mar 2000 09:45:39 +0000 (09:45 +0000)
* decl.c (cp_finish_decl): Remove obsolete comment.

* typeck.c (build_ptrmemfunc1): Kill uninitialized warning.

From-SVN: r32557

gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/typeck.c

index 99a8d4dc2a705b1e1c9aafa3fde283281a42d7d9..f73c82429c4de08ed8ef57505b1fd18836c6e397 100644 (file)
@@ -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.
index 7bdcca91f8de070f564ae8a3e2fa419e35e6e9b6..fdb35b2175ee8abd5a4b4eaca334bcf0b2fdbea1 100644 (file)
@@ -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)
index aed8bb308d3a893fc40c25211846cc125ef67408..6e1b66719418838fb13da4842e977468806a5c05 100644 (file)
@@ -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;