This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: minor bug (?) in alpha.c
- To: kanazawa at flab dot fujitsu dot co dot jp (Kanazawa Yuzi)
- Subject: Re: minor bug (?) in alpha.c
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 09 Dec 1997 01:21:01 -0700
- cc: egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
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