]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/90329 (Incompatibility between gfortran and C lapack calls)
authorJakub Jelinek <jakub@redhat.com>
Thu, 16 May 2019 09:37:43 +0000 (11:37 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 16 May 2019 09:37:43 +0000 (11:37 +0200)
commit4b8e35f1b1df60633aeb0bf37ea9f6311f2132b9
tree3f485b6b1cf328ccbe3d102f53c45fc88878f488
parent86c23d9314c4081c13ebf629fd3393de4e316bf6
re PR fortran/90329 (Incompatibility between gfortran and C lapack calls)

PR fortran/90329
* tree-core.h (struct tree_decl_common): Document
decl_nonshareable_flag for PARM_DECLs.
* tree.h (DECL_HIDDEN_STRING_LENGTH): Define.
* calls.c (expand_call): Don't try tail call if caller
has any DECL_HIDDEN_STRING_LENGTH PARM_DECLs that are or might be
passed on the stack and callee needs to pass any arguments on the
stack.
* tree-streamer-in.c (unpack_ts_decl_common_value_fields): Use
else if instead of series of mutually exclusive ifs.  Handle
DECL_HIDDEN_STRING_LENGTH for PARM_DECLs.
* tree-streamer-out.c (pack_ts_decl_common_value_fields): Likewise.

* trans-decl.c (create_function_arglist): Set
DECL_HIDDEN_STRING_LENGTH on hidden string length PARM_DECLs if
len is constant.

From-SVN: r271285
gcc/ChangeLog
gcc/calls.c
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/tree-core.h
gcc/tree-streamer-in.c
gcc/tree-streamer-out.c
gcc/tree.h