]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix problem reported in http://gcc.gnu.org/ml/gcc-patches/2002-07/msg00238.html
authorJim Wilson <wilson@redhat.com>
Fri, 5 Jul 2002 19:39:12 +0000 (19:39 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Fri, 5 Jul 2002 19:39:12 +0000 (12:39 -0700)
Fix problem reported in http://gcc.gnu.org/ml/gcc-patches/2002-07/msg00238.html
* decl.c (mark_named_label_lists): Add missing & in call to
mark_binding_level.

From-SVN: r55265

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

index 1e677455725671fe861e1124c9efe6876ec699ed..f4909b06b14aae035f435ae19525a6dd96a1754d 100644 (file)
@@ -1,3 +1,8 @@
+2002-07-05  Jim Wilson  <wilson@redhat.com>
+
+       * decl.c (mark_named_label_lists): Add missing & in call to
+       mark_binding_level.
+
 2002-07-05  Jason Merrill  <jason@redhat.com>
 
        PR optimization/7145
index f640dcdd74c30dfc975ef2437ec95efdc4454e73..9f683f2ef846530b72d450d30b0b7617b59f2a9f 100644 (file)
@@ -1970,7 +1970,7 @@ mark_named_label_lists (labs, uses)
   for (; l; l = l->next)
     {
       ggc_mark (l);
-      mark_binding_level (l->binding_level);
+      mark_binding_level (&l->binding_level);
       ggc_mark_tree (l->old_value);
       ggc_mark_tree (l->label_decl);
       ggc_mark_tree (l->bad_decls);