This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/2162
- To: nobody at gcc dot gnu dot org
- Subject: Re: optimization/2162
- From: ghazi at gcc dot gnu dot org
- Date: 16 May 2001 14:36:00 -0000
- Cc: gcc-prs at gcc dot gnu dot org,
- Reply-To: ghazi at gcc dot gnu dot org
The following reply was made to PR optimization/2162; it has been noted by GNATS.
From: ghazi@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org, ghazi@caip.rutgers.edu, nobody@gcc.gnu.org
Cc:
Subject: Re: optimization/2162
Date: 16 May 2001 14:29:27 -0000
Synopsis: solaris2.7 extra -fPIC failures from execute/loop-8.c
State-Changed-From-To: open->closed
State-Changed-By: ghazi
State-Changed-When: Wed May 16 07:29:27 2001
State-Changed-Why:
Fixed by:
2001-05-11 Mark Mitchell <mark@codesourcery.com>
* loop.h (struct movables): Remove `num'.
* loop.c (scan_loop): Don't set it. Use count_insns_in_loop.
Adjust call to strength_reduce.
(num_unmoved_movables): New function.
(move_movables): Don't set movables->num.
(strength_reduce): Compute the number of instructions in the loop
here, rather than in the caller.
(check_dbra_loop): Always clear reversible_mem_store if there
are any memory sets.
(loop_regs_scan): Don't count instructions here.
(count_insn_in_loop): New function.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2162&database=gcc