Introduce -finline-arg-packing.
authorThomas Koenig <tkoenig@gcc.gnu.org>
Fri, 20 Dec 2019 11:51:05 +0000 (11:51 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Fri, 20 Dec 2019 11:51:05 +0000 (11:51 +0000)
commit95d27703bc8777efe9cdf2a1d8cac7a08b1f7168
tree2ced2afc4d48ec55f5d67887dcf87f78589301db
parentde89b5748d68b76b06e3beca4a956060afb79a3d
Introduce -finline-arg-packing.

2019-12-20  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR middle-end/91512
    PR fortran/92738
    * invoke.texi: Document -finline-arg-packing.
    * lang.opt: Add -finline-arg-packing.
    * options.c (gfc_post_options): Handle -finline-arg-packing.
    * trans-array.c (gfc_conv_array_parameter): Use
    flag_inline_arg_packing instead of checking for optimize and
    optimize_size.

2019-12-20  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR middle-end/91512
    PR fortran/92738
    * gfortran.dg/inline_pack_25.f90: New test.

From-SVN: r279639
gcc/fortran/ChangeLog
gcc/fortran/invoke.texi
gcc/fortran/lang.opt
gcc/fortran/options.c
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/internal_pack_25.f90 [new file with mode: 0644]