[Patch, Fortran, F08] PR 55207: Variables declared in the main program should implicitly get the SAVE attribute

Dominique Dhumieres dominiq@lps.ens.fr
Sun Mar 16 17:40:00 GMT 2014


Janus,

So far I have found two fall out after this revision:

(1) The test in pr47399 comment 0 gives an ICE:

pr47399.f90: In function 'test':
pr47399.f90:32:0: internal compiler error: in gfc_trans_auto_array_allocation, at fortran/trans-array.c:5682
    integer, dimension (a_const%i()) :: x        ! #3
 ^

(2) The execution time of fatigue.f90 with the patch at

http://gcc.gnu.org/ml/gcc-patches/2014-03/msg00754.html

double from 208588 to 208590 unless I use -fstd=f2003.

TIA

Dominique



More information about the Fortran mailing list