[PATCH 016/236] BND_TO scaffolding
David Malcolm
dmalcolm@redhat.com
Tue Aug 19 16:43:00 GMT 2014
On Tue, 2014-08-12 at 15:22 -0600, Jeff Law wrote:
> On 08/06/14 11:19, David Malcolm wrote:
> > gcc/
> > * sel-sched-ir.h (BND_TO): insn_t will eventually be an
> > rtx_insn *. To help with transition, for now, convert from an
> > access macro into a pair of functions: BND_TO, returning an
> > rtx_insn *, and...
> > (SET_BND_TO): New function, for use where BND_TO is used as an
> > lvalue.
> >
> > * sel-sched-ir.c (blist_add): Update lvalue usage of BND_TO to
> > SET_BND_TO.
> > (BND_TO): New function, adding a checked cast.
> > (SET_BND_TO): New function.
> >
> > * sel-sched.c (move_cond_jump): Update lvalue usage of BND_TO to
> > SET_BND_TO.
> > (compute_av_set_on_boundaries): Likewise.
> >
> > /
> > * rtx-classes-status.txt: Add SET_BND_TO
> OK.
Thanks.
Fixed up the as_a_nullable to safe_as_a, and committed to trunk as
r214170, having verified bootstrap®rtest on x86_64-unknown-linux-gnu
(Fedora 20) albeit in combination with patches 9-29 [1], and verified
that it builds standalone with 9 targets.
Am attaching what I committed.
FWIW these functions become a macro again in patch #173.
Dave
[1] as per https://gcc.gnu.org/ml/gcc-patches/2014-08/msg01420.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: r214170.patch
Type: text/x-patch
Size: 3414 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140819/b10cfd2d/attachment.bin>
More information about the Gcc-patches
mailing list