aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/runtime/stop.c
diff options
context:
space:
mode:
authorJanne Blomqvist <jb@gcc.gnu.org>2018-02-22 18:14:21 +0200
committerJanne Blomqvist <jb@gcc.gnu.org>2018-02-22 18:14:21 +0200
commit6cc22cf4dfcfecda589cd0fc023abbeff7779279 (patch)
tree911979f9a93cb44340a7cd0c77ee209e85268f8a /libgfortran/runtime/stop.c
parent58730d1899b1deb723c0b13984fda1768ae73408 (diff)
downloadgcc-6cc22cf4dfcfecda589cd0fc023abbeff7779279.zip
gcc-6cc22cf4dfcfecda589cd0fc023abbeff7779279.tar.gz
gcc-6cc22cf4dfcfecda589cd0fc023abbeff7779279.tar.bz2
PR 78534, 84509 Fix libgfortran API for PAUSE statement
This patch changes the libgfortran API for the PAUSE statement. By passing a GFC_INTEGER_8 it handles -fdefault-integer-8, and for the character version passing the length as a size_t. Regtested on x86_64-pc-linux-gnu, committed as obvious. gcc/fortran/ChangeLog: 2018-02-22 Janne Blomqvist <jb@gcc.gnu.org> PR 78534 PR 84509 * trans-decl.c (gfc_build_builtin_function_decls): Pass gfc_int8_type node to pause_numeric, size_type_node to pause_string. * trans-stmt.c (gfc_trans_pause): Likewise. libgfortran/ChangeLog: 2018-02-22 Janne Blomqvist <jb@gcc.gnu.org> PR 78534 PR 84509 * runtime/pause.c (pause_numeric): Modify to take GFC_INTEGER_8 argument. (pause_string): Modify to take size_t character length argument. From-SVN: r257903
Diffstat (limited to 'libgfortran/runtime/stop.c')
0 files changed, 0 insertions, 0 deletions