re PR fortran/90539 (481.wrf slowdown by 25% on Intel Kaby with -Ofast -march=native...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 2 Jun 2019 15:18:22 +0000 (15:18 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 2 Jun 2019 15:18:22 +0000 (15:18 +0000)
commit5d9c602d8374bd4330b53ae4dc6a2534199cc397
tree1f6c9311416085b4463f65d6cccc0f52e1d64761
parent5efdd6eeb65593900596592280b1be74b486e377
re PR fortran/90539 (481.wrf slowdown by 25% on Intel Kaby with -Ofast -march=native starting with r271377)

2019-06-02  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/90539
* trans-expr.c (gfc_conv_subref_array_arg): If the size of the
expression can be determined to be one, treat it as contiguous.
Set likelyhood of presence of an actual argument according to
PRED_FORTRAN_ABSENT_DUMMY and likelyhood of being contiguous
according to PRED_FORTRAN_CONTIGUOUS.

2019-06-02  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/90539
* predict.def (PRED_FORTRAN_CONTIGUOUS): New predictor.

2019-06-02  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/90539
* gfortran.dg/internal_pack_24.f90: New test.

From-SVN: r271844
gcc/ChangeLog
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/predict.def
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/internal_pack_24.f90 [new file with mode: 0644]