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]
Other format: [Raw text]

Re: Make generic_sched const in arm.md


On Wed, 2004-11-17 at 04:30, Ian Lance Taylor wrote:
> While looking over insn-attrtab.c for ARM, I happened to notice that
> the scheduling code makes useless calls to recog_memoized.  The
> generic_sched variable only tests a global variable, but was not
> marked as const.
> 
> The patch is obvious.  Tested by building the compiler and by
> examining insn-attrtab.c.  OK to install?
> 
> Ian
> 
> 
> 2004-11-16  Ian Lance Taylor  <ian@wasabisystems.com>
> 
> 	* arm.md (generic_sched): Make const.
> 

OK.

R.


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