* predicate forward references (Was: Re: RFA: Add Epiphany port)
[not found] ` <4EB42BDB.3060703@redhat.com>
@ 2011-11-05 4:01 ` Joern Rennecke
2011-11-05 4:47 ` Richard Henderson
0 siblings, 1 reply; 2+ messages in thread
From: Joern Rennecke @ 2011-11-05 4:01 UTC (permalink / raw)
To: Richard Henderson; +Cc: gcc
Quoting Richard Henderson <rth@redhat.com>:
>> (define_predicate "call_address_operand"
>> (match_code "symbol_ref,const,reg")
>> {
>> return (symbolic_operand (op, mode) || (GET_CODE (op) == REG));
>> })
>
> Nit.
>
> (define_predicate "call_address_operand"
> (ior (match_code "reg")
> (match_operand 0 "symbolic_operand")))
It doesn't like the predicates in their original order this way - it
complains:
../../srcw/gcc/config/epiphany/predicates.md:25: reference to unknown
predicate 'symbolic_operand'
Is there a way to have a predicate forward declaration?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: predicate forward references (Was: Re: RFA: Add Epiphany port)
2011-11-05 4:01 ` predicate forward references (Was: Re: RFA: Add Epiphany port) Joern Rennecke
@ 2011-11-05 4:47 ` Richard Henderson
0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2011-11-05 4:47 UTC (permalink / raw)
To: Joern Rennecke; +Cc: gcc
On 11/04/2011 09:01 PM, Joern Rennecke wrote:
> Is there a way to have a predicate forward declaration?
No, sadly. Something for a future enhancement in the genfoo.
r~
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-05 4:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20111103140816.trwz063nj4ks4gos-nzlynne@webmail.spamcop.net>
[not found] ` <CA+=Sn1m0wx7RfS=JaW9=J010SZnf4Ax4mqM--ON3YzUcOfwvTQ@mail.gmail.com>
[not found] ` <20111103150455.6mrpu054z8csc00c-nzlynne@webmail.spamcop.net>
[not found] ` <4EB2F254.6080802@redhat.com>
[not found] ` <20111103182234.22r0qdtuluog4wkc-nzlynne@webmail.spamcop.net>
[not found] ` <Pine.LNX.4.64.1111032328590.31547@digraph.polyomino.org.uk>
[not found] ` <20111104015458.f7hzapyfqck4gw84-nzlynne@webmail.spamcop.net>
[not found] ` <Pine.LNX.4.64.1111041223430.19818@digraph.polyomino.org.uk>
[not found] ` <20111104094354.cl551itv9c8c4g0o-nzlynne@webmail.spamcop.net>
[not found] ` <4EB42BDB.3060703@redhat.com>
2011-11-05 4:01 ` predicate forward references (Was: Re: RFA: Add Epiphany port) Joern Rennecke
2011-11-05 4:47 ` Richard Henderson
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).