re PR rtl-optimization/12440 (gcc 3.3.1 on i386 linux 2.4.22 crashes during compilation of quicktime4linux 2.0.0)
PR optimization/12440 * loop.c: Include ggc.h. (loop_optimize): Run garbage collector between optimization of loops. * Makefile.in (loop.o): Add GGC_H dependency. From-SVN: r76213
This commit is contained in:
parent
04bf686df7
commit
c8b6fae388
@ -1,3 +1,10 @@
|
||||
2004-01-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
|
||||
|
||||
PR optimization/12440
|
||||
* loop.c: Include ggc.h.
|
||||
(loop_optimize): Run garbage collector between optimization of loops.
|
||||
* Makefile.in (loop.o): Add GGC_H dependency.
|
||||
|
||||
2004-01-20 Hartmut Penner <hpenner@de.ibm.com>
|
||||
|
||||
* gcc/config/rs6000/rs6000.c (function_arg) Handle
|
||||
|
@ -1668,7 +1668,7 @@ value-prof.o : value-prof.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H)
|
||||
loop.o : loop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) flags.h $(LOOP_H) \
|
||||
insn-config.h $(REGS_H) hard-reg-set.h $(RECOG_H) $(EXPR_H) \
|
||||
real.h $(PREDICT_H) $(BASIC_BLOCK_H) function.h cfgloop.h \
|
||||
toplev.h varray.h except.h cselib.h $(OPTABS_H) $(TM_P_H)
|
||||
toplev.h varray.h except.h cselib.h $(OPTABS_H) $(TM_P_H) $(GGC_H)
|
||||
doloop.o : doloop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) flags.h \
|
||||
$(LOOP_H) $(EXPR_H) hard-reg-set.h $(BASIC_BLOCK_H) $(TM_P_H) toplev.h \
|
||||
cfgloop.h
|
||||
|
@ -65,6 +65,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
||||
#include "insn-flags.h"
|
||||
#include "optabs.h"
|
||||
#include "cfgloop.h"
|
||||
#include "ggc.h"
|
||||
|
||||
/* Not really meaningful values, but at least something. */
|
||||
#ifndef SIMULTANEOUS_PREFETCHES
|
||||
@ -534,7 +535,10 @@ loop_optimize (rtx f, FILE *dumpfile, int flags)
|
||||
struct loop *loop = &loops->array[i];
|
||||
|
||||
if (! loop->invalid && loop->end)
|
||||
scan_loop (loop, flags);
|
||||
{
|
||||
scan_loop (loop, flags);
|
||||
ggc_collect ();
|
||||
}
|
||||
}
|
||||
|
||||
end_alias_analysis ();
|
||||
|
Loading…
Reference in New Issue
Block a user