re PR fortran/90329 (Incompatibility between gfortran and C lapack calls)
authorJakub Jelinek <jakub@redhat.com>
Wed, 29 May 2019 14:08:57 +0000 (16:08 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 29 May 2019 14:08:57 +0000 (16:08 +0200)
commitffeebc4ff1100a14f439314f90651b42e30fb81a
treef663fc322b17ac51f7fd85bda31b11ab0a116b9a
parentb54ecc769f598fcb7f88c6a7c9217ee7c32be789
re PR fortran/90329 (Incompatibility between gfortran and C lapack calls)

PR fortran/90329
* lang.opt (fbroken-callers): Remove.
(ftail-call-workaround, ftail-call-workaround=): New options.
* gfortran.h (struct gfc_namespace): Add implicit_interface_calls.
* interface.c (gfc_procedure_use): Set implicit_interface_calls
for calls to implicit interface procedures.
* trans-decl.c (create_function_arglist): Use flag_tail_call_workaround
instead of flag_broken_callers.  If it is not 2, also require
sym->ns->implicit_interface_calls.
* invoke.texi (fbroken-callers): Remove documentation.
(ftail-call-workaround, ftail-call-workaround=): Document.

From-SVN: r271738
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/interface.c
gcc/fortran/invoke.texi
gcc/fortran/lang.opt
gcc/fortran/trans-decl.c