gcc/libgfortran/intrinsics
Thomas Koenig 419af57c13 re PR fortran/45424 ([F08] Add IS_CONTIGUOUS intrinsic)
2019-01-07  Thomas Koenig  <tkoenig@gcc.gnu.org>
	Harald Anlauf <anlauf@gmx.de>
	Tobias Burnus <burnus@gcc.gnu.org>

	PR fortran/45424
	* check.c (gfc_check_is_contiguous): New function.
	* expr.c (gfc_is_not_contiguous): New function.
	* gfortran.h (gfc_isym_id): Add GFC_ISYM_IS_CONTIGUOUS.
	Add prototype for gfc_is_not_contiguous.
	* intrinsic.c (do_ts29113_check): Add GFC_ISYM_IS_CONTIGUOUS.
	(add_function): Add is_contiguous.
	* intrinsic.h: Add prototypes for gfc_check_is_contiguous,
	gfc_simplify_is_contiguous and gfc_resolve_is_contiguous.
	* intrinsic.texi: Add IS_CONTIGUOUS.
	* iresolve.c (gfc_resolve_is_contiguous): New function.
	* simplify.c (gfc_simplify_is_contiguous): New function.
	* trans-decl.c (gfor_fncecl_is_contiguous0): New variable.
	(gfc_build_intrinsic_function_decl): Add it.
	* trans-intrinsic.c (gfc_conv_intrinsic_is_contiguous): New
	function.
	(gfc_conv_intrinsic_function): Handle GFC_ISYM_IS_CONTIGUOUS.

2019-01-07  Thomas Koenig  <tkoenig@gcc.gnu.org>
	Harald Anlauf <anlauf@gmx.de>
	Tobias Burnus <burnus@gcc.gnu.org>

	PR fortran/45424
	* Makefile.am: Add intrinsics/is_contiguous.c.
	* Makefile.in: Regenerated.
	* gfortran.map: Add _gfortran_is_contiguous0.
	* intrinsics/is_contiguous.c: New file.
	* libgfortran.h: Add prototype for is_contiguous0.

2019-01-07  Thomas Koenig  <tkoenig@gcc.gnu.org>
	Harald Anlauf <anlauf@gmx.de>
	Tobias Burnus <burnus@gcc.gnu.org>

	* gfortran.dg/is_contiguous_1.f90: New test.
	* gfortran.dg/is_contiguous_2.f90: New test.
	* gfortran.dg/is_contiguous_3.f90: New test.


Co-Authored-By: Harald Anlauf <anlauf@gmx.de>
Co-Authored-By: Tobias Burnus <burnus@gcc.gnu.org>

From-SVN: r267657
2019-01-07 19:30:28 +00:00
..
abort.c Update copyright years. 2019-01-01 13:31:55 +01:00
access.c Update copyright years. 2019-01-01 13:31:55 +01:00
args.c Update copyright years. 2019-01-01 13:31:55 +01:00
associated.c Update copyright years. 2019-01-01 13:31:55 +01:00
c99_functions.c Update copyright years. 2019-01-01 13:31:55 +01:00
chdir.c Update copyright years. 2019-01-01 13:31:55 +01:00
chmod.c Update copyright years. 2019-01-01 13:31:55 +01:00
clock.c Update copyright years. 2019-01-01 13:31:55 +01:00
cpu_time.c Update copyright years. 2019-01-01 13:31:55 +01:00
cshift0.c Update copyright years. 2019-01-01 13:31:55 +01:00
ctime.c Update copyright years. 2019-01-01 13:31:55 +01:00
date_and_time.c Update copyright years. 2019-01-01 13:31:55 +01:00
dprod_r8.f90 Update copyright years. 2019-01-01 13:31:55 +01:00
dtime.c Update copyright years. 2019-01-01 13:31:55 +01:00
env.c Update copyright years. 2019-01-01 13:31:55 +01:00
eoshift0.c Update copyright years. 2019-01-01 13:31:55 +01:00
eoshift2.c Update copyright years. 2019-01-01 13:31:55 +01:00
erfc_scaled_inc.c Update copyright years. 2019-01-01 13:31:55 +01:00
erfc_scaled.c Update copyright years. 2019-01-01 13:31:55 +01:00
etime.c Update copyright years. 2019-01-01 13:31:55 +01:00
execute_command_line.c Update copyright years. 2019-01-01 13:31:55 +01:00
exit.c Update copyright years. 2019-01-01 13:31:55 +01:00
extends_type_of.c Update copyright years. 2019-01-01 13:31:55 +01:00
f2c_specifics.F90 Update copyright years. 2019-01-01 13:31:55 +01:00
fnum.c Update copyright years. 2019-01-01 13:31:55 +01:00
gerror.c Update copyright years. 2019-01-01 13:31:55 +01:00
getcwd.c Update copyright years. 2019-01-01 13:31:55 +01:00
getlog.c Update copyright years. 2019-01-01 13:31:55 +01:00
getXid.c Update copyright years. 2019-01-01 13:31:55 +01:00
hostnm.c Update copyright years. 2019-01-01 13:31:55 +01:00
ierrno.c Update copyright years. 2019-01-01 13:31:55 +01:00
is_contiguous.c re PR fortran/45424 ([F08] Add IS_CONTIGUOUS intrinsic) 2019-01-07 19:30:28 +00:00
ishftc.c Update copyright years. 2019-01-01 13:31:55 +01:00
kill.c Update copyright years. 2019-01-01 13:31:55 +01:00
link.c Update copyright years. 2019-01-01 13:31:55 +01:00
move_alloc.c Update copyright years. 2019-01-01 13:31:55 +01:00
mvbits.c Update copyright years. 2019-01-01 13:31:55 +01:00
pack_generic.c Update copyright years. 2019-01-01 13:31:55 +01:00
perror.c Update copyright years. 2019-01-01 13:31:55 +01:00
rand.c Update copyright years. 2019-01-01 13:31:55 +01:00
random_init.f90 Update copyright years. 2019-01-01 13:31:55 +01:00
random.c Update copyright years. 2019-01-01 13:31:55 +01:00
rename.c Update copyright years. 2019-01-01 13:31:55 +01:00
reshape_generic.c Update copyright years. 2019-01-01 13:31:55 +01:00
reshape_packed.c Update copyright years. 2019-01-01 13:31:55 +01:00
selected_char_kind.c Update copyright years. 2019-01-01 13:31:55 +01:00
selected_int_kind.f90 Update copyright years. 2019-01-01 13:31:55 +01:00
selected_real_kind.f90 Update copyright years. 2019-01-01 13:31:55 +01:00
signal.c Update copyright years. 2019-01-01 13:31:55 +01:00
size.c Update copyright years. 2019-01-01 13:31:55 +01:00
sleep.c Update copyright years. 2019-01-01 13:31:55 +01:00
spread_generic.c Update copyright years. 2019-01-01 13:31:55 +01:00
stat.c Update copyright years. 2019-01-01 13:31:55 +01:00
string_intrinsics_inc.c Update copyright years. 2019-01-01 13:31:55 +01:00
string_intrinsics.c Update copyright years. 2019-01-01 13:31:55 +01:00
symlnk.c Update copyright years. 2019-01-01 13:31:55 +01:00
system_clock.c Update copyright years. 2019-01-01 13:31:55 +01:00
system.c Update copyright years. 2019-01-01 13:31:55 +01:00
time_1.h Update copyright years. 2019-01-01 13:31:55 +01:00
time.c Update copyright years. 2019-01-01 13:31:55 +01:00
umask.c Update copyright years. 2019-01-01 13:31:55 +01:00
unlink.c Update copyright years. 2019-01-01 13:31:55 +01:00
unpack_generic.c Update copyright years. 2019-01-01 13:31:55 +01:00