This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Current CVS source on m68k-next-nextstep3 chokes on first stage2 compile with segmentation violation
- To: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Subject: Re: Current CVS source on m68k-next-nextstep3 chokes on first stage2 compile with segmentation violation
- From: Jim Wilson <wilson at cygnus dot com>
- Date: Tue, 24 Mar 1998 13:11:57 -0800
- cc: egcs at cygnus dot com, law at cygnus dot com
An unintialized variable problem. Here is a patch to fix it.
Tue Mar 24 13:10:38 1998 Jim Wilson <wilson@cygnus.com>
* loop.c (scan_loop): Initialize move_insn_first to zero.
Index: loop.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/loop.c,v
retrieving revision 1.36
diff -p -r1.36 loop.c
*** loop.c 1998/03/20 14:58:10 1.36
--- loop.c 1998/03/24 21:10:31
*************** scan_loop (loop_start, end, nregs, unrol
*** 950,955 ****
--- 950,956 ----
m->done = 0;
m->forces = 0;
m->move_insn = 0;
+ m->move_insn_first = 0;
m->partial = 1;
/* If the insn may not be executed on some cycles,
we can't clear the whole reg; clear just high part.