From: Andrew MacLeod <amacleod@redhat.com>
To: "S. Bosscher" <S.Bosscher@student.tudelft.nl>
Cc: "'Geoff Keating '" <geoffk@geoffk.org>,
"'gcc mailing list '" <gcc@gcc.gnu.org>
Subject: RE: [tree-ssa][ GC, Virtual operands, and GCing between passes
Date: Thu, 11 Dec 2003 14:34:00 -0000 [thread overview]
Message-ID: <1071152867.10274.49.camel@p4> (raw)
In-Reply-To: <4195D82C2DB1D211B9910008C7C9B06F01F373EC@lr0nt3.lr.tudelft.nl>
On Thu, 2003-12-11 at 09:14, S. Bosscher wrote:
> > The problem is that gengtype will not allow me to have vevotrs of type
> > tree **. It says its an unknown type.
> >
> > typedef struct def_optype_d GTY(())
> > {
> > unsigned num_defs;
> > tree ** defs;
> > } def_optype_t;
>
> Try this with http://gcc.gnu.org/ml/gcc-patches/2003-12/msg00593.html.
>
> If that doesn't work, make it "PTR * GTY((skip ())) defs" (or just
> "void **" if you have that patch applied anyway) and cast to tree
> where needed.
>
But when I use skip:
ptr * GTY((skip(""))) defs,
its doesn't mark the vector, so it gets stomped all over. :
typedef struct def_optype_d GTY(())
{
unsigned num_defs;
tree * GTY((skip(""))) defs;
} def_optype_t;
produces:
void
gt_ggc_mx_operands_d (void *x_p)
{
struct operands_d * const x = (struct operands_d *)x_p;
if (ggc_test_and_set_mark (x))
{
}
}
So that doesn't work for me either.
I am lothe to use the other patch until it is accepted by someone. OH, I
see Jim OK'd it. Has it been checked into mainline or the tree-ssa
branch?
Andrew
next prev parent reply other threads:[~2003-12-11 14:27 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-11 14:27 S. Bosscher
2003-12-11 14:34 ` Andrew MacLeod [this message]
2003-12-11 15:01 ` Andrew MacLeod
-- strict thread matches above, loose matches on Subject: below --
2003-12-09 20:26 Andrew MacLeod
2003-12-09 23:43 ` Geoff Keating
2003-12-10 4:46 ` Andrew MacLeod
2003-12-11 17:01 ` Geoff Keating
2003-12-11 17:17 ` Andrew MacLeod
2003-12-11 21:15 ` Geoff Keating
2003-12-11 23:31 ` Andrew MacLeod
2003-12-15 22:05 ` Richard Henderson
2003-12-15 22:46 ` Andrew MacLeod
2003-12-11 19:30 ` law
2003-12-11 23:13 ` Andrew MacLeod
2003-12-12 0:21 ` law
2003-12-12 3:29 ` Andrew MacLeod
2003-12-12 5:24 ` law
2003-12-12 13:38 ` Andrew MacLeod
2003-12-13 6:52 ` law
2003-12-11 14:17 ` Andrew MacLeod
2003-12-10 0:03 ` Jan Hubicka
2003-12-10 0:18 ` Andrew MacLeod
2003-12-10 0:38 ` Jan Hubicka
2003-12-11 19:30 ` law
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1071152867.10274.49.camel@p4 \
--to=amacleod@redhat.com \
--cc=S.Bosscher@student.tudelft.nl \
--cc=gcc@gcc.gnu.org \
--cc=geoffk@geoffk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).