This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Loop clean up fixes
On Jan 21, 2000, Michael Hayes <m.hayes@elec.canterbury.ac.nz> wrote:
> Alexandre Oliva writes:
>> How 'bout this temporary fix, then? This patch renders the other
>> patches I've posted on this thread obsolete.
> Just a little quibble. Your ChangeLog entry refers to basic-block.h
> but your patch doesn't.
Duh! Sorry, here's patch for basic-block.h:
Index: gcc/basic-block.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/basic-block.h,v
retrieving revision 1.46
diff -u -p -r1.46 basic-block.h
--- gcc/basic-block.h 2000/01/15 03:01:49 1.46
+++ gcc/basic-block.h 2000/01/21 12:22:51
@@ gcc/basic-block.h PARAMS ((
extern void add_noreturn_fake_exit_edges PARAMS ((void));
extern void flow_delete_insn_chain PARAMS ((rtx, rtx));
+struct loop_info;
/* Structure to hold information for each natural loop. */
struct loop
@@ -274,7 +275,7 @@ struct loop
int invalid;
/* Auxiliary info specific to a pass. */
- void *info;
+ struct loop_info *info;
/* The following are currently used by loop.c but they are likely to
disappear as loop.c is converted to use the CFG. */
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them