]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR fortran/90329
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 May 2019 09:37:43 +0000 (09:37 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 May 2019 09:37:43 +0000 (09:37 +0000)
commit1fc5e56f59f110e830aadfd9e06f94e0526d9b7b
tree3f485b6b1cf328ccbe3d102f53c45fc88878f488
parent5acef9bf3427f7217d0dfeaf53f5d9fffa070ecd
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@271285 138bc75d-0d04-0410-961f-82ee72b054a4
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