This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Whee, GC fix
- To: gcc-patches at gcc dot gnu dot org
- Subject: Whee, GC fix
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 21 Sep 1999 06:47:02 -0600
- Reply-To: law at cygnus dot com
Minor goof, arguments to add_roots were reversed. This had rather unpleasant
effects :-)
* pa.c (pa_add_gc_roots): Fix thinko in last change.
Index: pa.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/pa/pa.c,v
retrieving revision 1.61
diff -c -3 -p -r1.61 pa.c
*** pa.c 1999/09/18 07:13:31 1.61
--- pa.c 1999/09/21 12:46:02
*************** pa_add_gc_roots ()
*** 6560,6565 ****
ggc_add_rtx_root (&hppa_compare_op0, 1);
ggc_add_rtx_root (&hppa_compare_op1, 1);
ggc_add_rtx_root (&hp_profile_label_rtx, 1);
! ggc_add_root (&deferred_plabels, sizeof (&deferred_plabels), 1,
&mark_deferred_plabels);
}
--- 6560,6565 ----
ggc_add_rtx_root (&hppa_compare_op0, 1);
ggc_add_rtx_root (&hppa_compare_op1, 1);
ggc_add_rtx_root (&hp_profile_label_rtx, 1);
! ggc_add_root (&deferred_plabels, 1, sizeof (&deferred_plabels),
&mark_deferred_plabels);
}