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: zackw at panix dot com
- Subject: Re: convert scheduler to target hooks, again
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Sun, 19 Aug 2001 16:43:00 -0400 (EDT)
- Cc: gcc-patches at gcc dot gnu dot org
> +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?
2001-08-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* sparc.c (sparc_variable_issue): Fix typo in last change.
diff -rup orig/egcs-CVS20010819/gcc/config/sparc/sparc.c egcs-CVS20010819/gcc/config/sparc/sparc.c
--- orig/egcs-CVS20010819/gcc/config/sparc/sparc.c Sat Aug 18 16:30:30 2001
+++ egcs-CVS20010819/gcc/config/sparc/sparc.c Sun Aug 19 10:13:56 2001
@@ -7755,7 +7755,7 @@ sparc_variable_issue (dump, sched_verbos
int cim;
{
if (sparc_cpu == PROCESSOR_ULTRASPARC)
- return ultrasparc_variable_issue (INSN);
+ return ultrasparc_variable_issue (insn);
else
return cim - 1;
}