[Bug fortran/90329] Incompatibility between gfortran and C lapack calls
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 16 09:38:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90329
--- Comment #33 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu May 16 09:37:43 2019
New Revision: 271285
URL: https://gcc.gnu.org/viewcvs?rev=271285&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/calls.c
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-decl.c
trunk/gcc/tree-core.h
trunk/gcc/tree-streamer-in.c
trunk/gcc/tree-streamer-out.c
trunk/gcc/tree.h
More information about the Gcc-bugs
mailing list