This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: convert scheduler to target hooks, again


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]