This is the mail archive of the gcc-bugs@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: minor bug (?) in alpha.c



  In message <199711060904.SAA02273@veesey.proc.flab.fujitsu.co.jp>you write:
  >   I tried egcs-971031 for alpha-linux. I am happy that code produced
  > by egcs with haifa scheduler runs 10 - 20% faster than code produced
  > by gcc-2.7.2.1.  Yet I think there is a minor bug in the code added to
  > use haifa scheduler.
  > 
  >   The following is the code in alpha_adjust_cost() which exists after
  > line 1193 of gcc/config/alpha/alpha.c . I think this code is strange
  > because it never checks attr_type of `dep_insn', but checks attr_type
  > of `insn' twice. I guess this is a typo and the argument of switch
  > statement should be `get_attr_type(dep_insn)'.
Thanks.  You're correct.

This has been fixed.

jeff


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