Commit 38792a94 by Richard Henderson Committed by Richard Henderson

ggc-simple.c (ggc_free_rtx): Poison the correct amount for the rtx length.

        * ggc-simple.c (ggc_free_rtx): Poison the correct amount
        for the rtx length.

From-SVN: r29215
parent 3d46d5af
Wed Sep 8 15:23:54 1999 Ricahrd Henderson <rth@cygnus.com>
Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
* ggc-simple.c (ggc_free_rtx): Poison the correct amount
for the rtx length.
Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
* alpha.md (call value patterns): Remove the result predicates.
......
......@@ -300,7 +300,8 @@ ggc_free_rtx (r)
fprintf (dump, "collect rtx %p\n", &r->rtx);
#endif
#ifdef GGC_POISON
memset (r, 0xAA, sizeof(*r));
memset (r, 0xAA, sizeof(*r) + ((GET_RTX_LENGTH (r->rtx.code) -1)
* sizeof(rtunion)));
#endif
free (r);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment