------- Comment #3 from dominiq at lps dot ens dot fr 2008-04-02 18:32 ------- Borrowed from pr35795, the following patch seems to work:
--- ../_gcc_clean/gcc/config/rs6000/rs6000.c 2008-03-29 23:59:15.000000000 +0100 +++ ../gcc-4.4-work/gcc/config/rs6000/rs6000.c 2008-04-02 20:03:18.000000000 +0200 @@ -17124,6 +17124,7 @@ final_start_function (insn, file, 1); final (insn, file, 1); final_end_function (); + free_after_compilation (cfun); reload_completed = 0; epilogue_completed = 0; (now building libgfortran). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35801