------- Comment #3 from jakub at gcc dot gnu dot org 2007-07-02 12:05 ------- If you remove = 0 after tmp decl and add tmp = 0 on a line right below it (so that tmp isn't saved), it will work just fine even with pre-PR32362 gfortran.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32551