* semantics.c (finish_member_declaration): Fix a typo in the
last checkin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125067
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
/* 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]