------- Comment #2 from burnus at gcc dot gnu dot org 2010-03-28 21:19 ------- Valgrind shows:
==4509== Conditional jump or move depends on uninitialised value(s) ==4509== at 0x4EB51A3: _gfortran_shape_4 (shape_i4.c:47) ==4509== by 0x40091E: myfunc.1553 (hjfdf.f90:19) ==4509== by 0x400A87: MAIN__ (hjfdf.f90:10) ==4509== by 0x400AC2: main (hjfdf.f90:10) ==4509== ==4509== Use of uninitialised value of size 8 ==4509== at 0x4EB51E2: _gfortran_shape_4 (shape_i4.c:53) ==4509== by 0x40091E: myfunc.1553 (hjfdf.f90:19) ==4509== by 0x400A87: MAIN__ (hjfdf.f90:10) ==4509== by 0x400AC2: main (hjfdf.f90:10) ==4509== ==4509== Invalid write of size 4 ==4509== at 0x4EB51E2: _gfortran_shape_4 (shape_i4.c:53) ==4509== by 0x40091E: myfunc.1553 (hjfdf.f90:19) ==4509== by 0x400A87: MAIN__ (hjfdf.f90:10) ==4509== by 0x400AC2: main (hjfdf.f90:10) ==4509== Address 0x0 is not stack'd, malloc'd or (recently) free'd -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |32834 nThis| | Component|libfortran |fortran Keywords| |wrong-code Known to fail| |4.1.2 4.2.1 4.3.4 4.4.4 | |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43532