This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Further analysis of g77.f-torture/execute/20000503-1.f
- To: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com dot au>
- Subject: Re: Further analysis of g77.f-torture/execute/20000503-1.f
- From: Richard Henderson <rth at cygnus dot com>
- Date: Thu, 6 Jul 2000 23:13:21 -0700
- Cc: "'gcc-bugs at gcc dot gnu dot org'" <gcc-bugs at gcc dot gnu dot org>
- References: <A9E96A79C068D211A6A90000C07BDF0D4D4DF6@crtsmail.crts.techaust.riotinto.com.au>
On Thu, Jul 06, 2000 at 01:22:59AM -0000, Billinghurst, David (CRTS) wrote:
> As a guess, the compiler incorrectly tries to transformation
> [2*(I0+N-1)-4*I0+4]/4 => (I0+N-1)/2 - I0 + 1
You're probably right. You might look at what's going on
in extract_muldiv. That function has been notoriously buggy.
r~