Re: [PATCH] Fix -fdump-rtl-ira segfault

2012-01-17 Thread Richard Guenther
On Tue, Jan 17, 2012 at 1:58 PM, Andreas Krebbel wrote: > Hi, > > -fdump-rtl-ira currently segfaults on s390 if not also a reload dump > is requested.  The problem is that the ira_dump_file variable during > reload still points to the ira dump file although the file has already > been closed by th

[PATCH] Fix -fdump-rtl-ira segfault

2012-01-17 Thread Andreas Krebbel
Hi, -fdump-rtl-ira currently segfaults on s390 if not also a reload dump is requested. The problem is that the ira_dump_file variable during reload still points to the ira dump file although the file has already been closed by the pass manager already. Ok for mainline? Bye, -Andreas- 2012-01