This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: convert scheduler to target hooks, again
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: convert scheduler to target hooks, again
- From: Zack Weinberg <zackw at panix dot com>
- Date: Mon, 20 Aug 2001 17:12:03 -0400
- Cc: gcc-patches at gcc dot gnu dot org
- References: <200108192043.QAA27148@caip.rutgers.edu>
On Sun, Aug 19, 2001 at 04:43:00PM -0400, Kaveh R. Ghazi wrote:
> > +static int
> > +sparc_variable_issue (dump, sched_verbose, insn, cim)
> > + FILE *dump ATTRIBUTE_UNUSED;
> > + int sched_verbose ATTRIBUTE_UNUSED;
> > + rtx insn;
> > + int cim;
> > +{
> > + if (sparc_cpu == PROCESSOR_ULTRASPARC)
> > + return ultrasparc_variable_issue (INSN);
> > + else
> > + return cim - 1;
> > +}
>
> Zack - your recent patch to sparc.c provoked this warning:
>
> sparc.c:7758: warning: passing arg 1 of `ultrasparc_variable_issue'
> makes pointer from integer without a cast
>
> Does this patch get to what you meant?
> - return ultrasparc_variable_issue (INSN);
> + return ultrasparc_variable_issue (insn);
Aggh, yes.
zw