]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
semantics.c (finish_member_declaration): Fix a typo in the last checkin.
authorH.J. Lu <hongjiu.lu@intel.com>
Fri, 25 May 2007 19:44:11 +0000 (19:44 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Fri, 25 May 2007 19:44:11 +0000 (12:44 -0700)
2007-05-25  H.J. Lu  <hongjiu.lu@intel.com>

* semantics.c (finish_member_declaration): Fix a typo in the
last checkin.

From-SVN: r125067

gcc/cp/ChangeLog
gcc/cp/semantics.c

index f2c6b6a671c9dc791e0a833b626052ce60625f26..32dee7fc6faf45228833b4173d1fde41036fc60f 100644 (file)
@@ -1,3 +1,8 @@
+2007-05-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * semantics.c (finish_member_declaration): Fix a typo in the
+       last checkin.
+
 2007-05-25  Douglas Gregor <doug.gregor@gmail.com>
 
        PR c++/31431
index 827f532ac7d184b7314fa0ea1d0c997b940aac10..631f5e8555ff3da8db7ea6a9ed3d027c3b95ec44 100644 (file)
@@ -2286,7 +2286,7 @@ finish_member_declaration (tree decl)
   /* Check for bare parameter packs in the member variable declaration.  */
   if (TREE_CODE (decl) == FIELD_DECL
       && !check_for_bare_parameter_packs (TREE_TYPE (decl)))
-    TREE_TYPE (decl) == error_mark_node;
+    TREE_TYPE (decl) = error_mark_node;
 
   /* [dcl.link]