gcc/libgfortran/runtime
Janne Blomqvist 6cc22cf4df 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
2018-02-22 18:14:21 +02:00
..
backtrace.c Update copyright years. 2018-01-03 11:03:58 +01:00
bounds.c Use pointer sized array indices. 2018-01-31 16:16:22 +02:00
compile_options.c Update copyright years. 2018-01-03 11:03:58 +01:00
convert_char.c Update copyright years. 2018-01-03 11:03:58 +01:00
environ.c Update copyright years. 2018-01-03 11:03:58 +01:00
error.c Update copyright years. 2018-01-03 11:03:58 +01:00
fpu.c Update copyright years. 2018-01-03 11:03:58 +01:00
in_pack_generic.c Use pointer sized array indices. 2018-01-31 16:16:22 +02:00
in_unpack_generic.c Use pointer sized array indices. 2018-01-31 16:16:22 +02:00
main.c Update copyright years. 2018-01-03 11:03:58 +01:00
memory.c Update copyright years. 2018-01-03 11:03:58 +01:00
minimal.c Update copyright years. 2018-01-03 11:03:58 +01:00
pause.c PR 78534, 84509 Fix libgfortran API for PAUSE statement 2018-02-22 18:14:21 +02:00
select.c Update copyright years. 2018-01-03 11:03:58 +01:00
select_inc.c Update copyright years. 2018-01-03 11:03:58 +01:00
stop.c Character length cleanup for Coarray Fortran library 2018-02-22 11:44:31 +02:00
string.c Update copyright years. 2018-01-03 11:03:58 +01:00