------- Comment #4 from burnus at gcc dot gnu dot org 2007-04-26 14:53 ------- > FYI, I am unable to confirm this on i686-pc-linux-gnu. > aermod seems to work no matter what switches I throw at the compiler. -- > > Might be related to the similar PR 31699. > No, because PR 31699 is triggered by -ftree-vectorize.
I'm really interested why this happens only here and not Janne's or SUSE's system. Anyway, I reduced the test case to: 37 aermod2_RESINI.f90 - reduced RESINI subroutine 14 aermod2_prog.f90 - reduced PROGRAM aermod 720 aermod2_main.f90 - the full MAIN module 15410 aermod2.f90 - the remaining part of aermod Compared with initially 26993 lines that's not too bad, but still way too big :-( If I compile everything with the previous options except of aermod2_RESINI.f90 it does not crash. Removing the SAVE in RESINI also gets rid of the crash. Any idea how to proceed except of trying to reduce the 15410 lines? Can anyone else reproduce this (maybe it is only visible using valgrind on other systems)? My "reduced" version is available from: http://physik.fu-berlin.de/~tburnus/tmp/aermod-debug.tar.gz -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31697