* ggc_mark_rtx and gcc_mark_tree
@ 2003-01-08 16:28 Josef Zlomek
2003-01-08 20:29 ` Geoffrey Keating
0 siblings, 1 reply; 2+ messages in thread
From: Josef Zlomek @ 2003-01-08 16:28 UTC (permalink / raw)
To: Geoffrey Keating; +Cc: gcc
Hi!
I'm updating my 8-month old patch and I have found out
that ggc_mark_rtx_children_1 was removed.
In my old patch I was marking children of my NOTE_INSN,
is it now superfluous to mark them now or
is it necessary to do it some other way?
Thank you for information.
Josef
Here is the chunk that failed patching:
diff -c -3 -p -r1.54 -r1.45.2.11
*** gcc/ggc-common.c 4 Jun 2002 17:32:52 -0000 1.54
--- gcc/ggc-common.c 12 Jun 2002 16:27:26 -0000 1.45.2.11
*************** ggc_mark_rtx_children_1 (r)
***************
*** 222,227 ****
case NOTE_INSN_BLOCK_BEG:
case NOTE_INSN_BLOCK_END:
ggc_mark_tree (NOTE_BLOCK (r));
break;
default:
--- 225,236 ----
case NOTE_INSN_BLOCK_BEG:
case NOTE_INSN_BLOCK_END:
ggc_mark_tree (NOTE_BLOCK (r));
+ break;
+
+ case NOTE_INSN_VAR_LOCATION:
+ ggc_mark_rtx (NOTE_VAR_LOCATION (r));
+ ggc_mark_tree (NOTE_VAR_LOCATION_DECL (r));
+ ggc_mark_rtx (NOTE_VAR_LOCATION_LOC (r));
break;
default:
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ggc_mark_rtx and gcc_mark_tree
2003-01-08 16:28 ggc_mark_rtx and gcc_mark_tree Josef Zlomek
@ 2003-01-08 20:29 ` Geoffrey Keating
0 siblings, 0 replies; 2+ messages in thread
From: Geoffrey Keating @ 2003-01-08 20:29 UTC (permalink / raw)
To: Josef Zlomek; +Cc: gcc
On Wednesday, January 8, 2003, at 04:43 AM, Josef Zlomek wrote:
> Hi!
>
> I'm updating my 8-month old patch and I have found out
> that ggc_mark_rtx_children_1 was removed.
> In my old patch I was marking children of my NOTE_INSN,
> is it now superfluous to mark them now or
> is it necessary to do it some other way?
>
You do need to mark them, but it's probably working already; the new
marker routines are autogenerated from rtl.def. gengtype will abort if
it detects a rtx_format entry that it doesn't understand, so if it
completes then you don't need to do anything.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-01-08 19:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-08 16:28 ggc_mark_rtx and gcc_mark_tree Josef Zlomek
2003-01-08 20:29 ` Geoffrey Keating
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).