------- Comment #5 from hjl dot tools at gmail dot com 2008-04-02 16:42 ------- (In reply to comment #3) > Subject: Re: New: [4.4 Regression] Revision 133787 breaks ia64 > > Hi, > I've added the assert to check that we don't initialize RTL world twice > without freeing it first (and thus that we don't leak memory). This > seems to be the case. Naively, something like this should fix it. > I am building a cross and will try to reproduce it. > > Index: config/ia64/ia64.c > =================================================================== > *** config/ia64/ia64.c (revision 133785) > --- config/ia64/ia64.c (working copy) > *************** ia64_output_mi_thunk (FILE *file, tree t > *** 9694,9699 **** > --- 9694,9700 ---- > final_start_function (insn, file, 1); > final (insn, file, 1); > final_end_function (); > + free_after_compilation (cfun); > > reload_completed = 0; > epilogue_completed = 0; >
This patch works. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35795