diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2007-05-25 19:44:11 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2007-05-25 12:44:11 -0700 |
commit | eb89f88cb853ff9e2604c9414360a312a39263ab (patch) | |
tree | 16ddc1a991290b8681ffc366a386755454eb6c8a /gcc | |
parent | 86ef8528beb7528947755413b9ec03e1b27c563f (diff) | |
download | gcc-eb89f88cb853ff9e2604c9414360a312a39263ab.zip gcc-eb89f88cb853ff9e2604c9414360a312a39263ab.tar.gz gcc-eb89f88cb853ff9e2604c9414360a312a39263ab.tar.bz2 |
semantics.c (finish_member_declaration): Fix a typo in the last checkin.
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/semantics.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index f2c6b6a..32dee7f 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -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 diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index 827f532..631f5e8 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -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] |