[patch, fortran] Inline packing for array temporaries

Dominique d'Humières dominiq@lps.ens.fr
Wed May 1 16:06:00 GMT 2019


Hi Thomas,

With your patch, compiling the original test for pr61968 with -O3 gives an ICE

% gfc pr61968.f90 -c -O3
pr61968.f90:32:0:

   32 |     call test_lib (a, int (sizeof (a), kind=c_size_t))
      | 
internal compiler error: in gfc_trans_create_temp_array, at fortran/trans-array.c:1265

TIA

Dominique



More information about the Fortran mailing list