On Wed, Jan 25, 2012 at 09:27:51PM +0100, Tobias Burnus wrote: > Dear all, dear Paul, > > Dominique pointed out that the patch does not fully work and that one > gets an ICE: > internal compiler error: in gfc_release_symbol, at fortran/symbol.c:2531 > > For some odd reason, it didn't occur for my build, which had some > unrelated patch applied. I have not understood why it worked with the > unrelated patch. However, I do understand why it fails. > > But with valgrind, I see it in all my builds. Fixed by the following > patch. (Fixes the patch, valgrind shows now error and the test case > still works.) > > I will commit it as "obvious" after it regtesting it. >
JFYI, the patch fixes the ICE. -- Steve