
2019-02-23 Paul Thomas <pault@gcc.gnu.org> PR fortran/89385 PR fortran/89366 * decl.c (gfc_verify_c_interop_param): Restriction on string length being one is lifted for F2018. * trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): For scalar characters with intent in, make a temporary and copy the result of the expression evaluation into it. (gfc_conv_procedure_call): Set a flag for character formal args having a character length that is not unity. If the procedure is bind C, call gfc_conv_gfc_desc_to_cfi_desc in this case. Also, extend bind C calls to unconditionally convert both pointers and allocatable expressions. 2019-02-23 Paul Thomas <pault@gcc.gnu.org> PR fortran/89385 * gfortran.dg/ISO_Fortran_binding_1.f90 : Correct test for previously incorrect lbound for allocatable expressions. Also correct stop values to avoid repetition. * gfortran.dg/ISO_Fortran_binding_5.f90 : New test * gfortran.dg/ISO_Fortran_binding_5.c : Support previous test. PR fortran/89366 * gfortran.dg/ISO_Fortran_binding_6.f90 : New test * gfortran.dg/ISO_Fortran_binding_6.c : Support previous test. * gfortran.dg/pr32599.f03 : Set standard to F2008. 2019-02-23 Paul Thomas <pault@gcc.gnu.org> PR fortran/89385 PR fortran/89366 * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc) : In the interchange between character and derived, the character type was being set incorrectly. (gfc_desc_to_cfi_desc) : Eliminate the interchange of types in this function. Do not add the kind and length information to the type field of structures. Lbounds were incorrectly being set to zero for allocatable and pointer descriptors. Should have been non-pointer, non-allocatables that received this treatment. From-SVN: r269156
146 lines
4.7 KiB
Text
146 lines
4.7 KiB
Text
2019-02-23 Paul Thomas <pault@gcc.gnu.org>
|
||
|
||
PR fortran/89385
|
||
PR fortran/89366
|
||
* runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc) : In the
|
||
interchange between character and derived, the character type
|
||
was being set incorrectly.
|
||
(gfc_desc_to_cfi_desc) : Eliminate the interchange of types in
|
||
this function. Do not add the kind and length information to
|
||
the type field of structures. Lbounds were incorrectly being
|
||
set to zero for allocatable and pointer descriptors. Should
|
||
have been non-pointer, non-allocatables that received this
|
||
treatment.
|
||
|
||
2019-01-30 Uroš Bizjak <ubizjak@gmail.com>
|
||
|
||
PR libfortran/88678
|
||
Revert:
|
||
2016-11-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
|
||
|
||
PR libfortran/78314
|
||
* config/fpu-glibc.h (support_fpu_trap): Use feenableexcept.
|
||
|
||
2019-01-30 Uroš Bizjak <ubizjak@gmail.com>
|
||
|
||
PR libfortran/88678
|
||
* config/fpu-glibc.h (set_fpu_trap_exceptions): Clear stalled
|
||
exception flags before changing trap mode. Optimize to call
|
||
feenableexcept and fedisableexcept only once.
|
||
|
||
2019-01-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||
|
||
* io/async.c (init_adv_cond): Use __GTHREAD_COND_INIT_FUNCTION().
|
||
|
||
2019-01-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||
|
||
PR libfortran/89020
|
||
* io/close.c (st_close): Simplify text of error message to not
|
||
presume a specific cause of failure to remove file.
|
||
|
||
2019-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||
|
||
PR libfortran/89020
|
||
* io/close.c (st_close): Fix typo.
|
||
|
||
2019-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||
|
||
PR libfortran/89020
|
||
* io/close.c (st_close): Generate error if calls to 'remove' return
|
||
an error.
|
||
|
||
2019-01-17 Andrew Stubbs <ams@codesourcery.com>
|
||
Kwok Cheung Yeung <kcy@codesourcery.com>
|
||
Julian Brown <julian@codesourcery.com>
|
||
Tom de Vries <tom@codesourcery.com>
|
||
|
||
* configure.ac: Use minimal mode for amdgcn.
|
||
* configure: Regenerate.
|
||
|
||
2019-01-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||
|
||
PR libfortran/88776
|
||
* io/open.c (newunit): Free format buffer if the unit specified is for
|
||
stdin, stdout, or stderr.
|
||
|
||
2019-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||
|
||
PR libfortran/88776
|
||
* io/list_read.c (namelist_read): Use nml_err_ret path on read error
|
||
not based on stdin_unit.
|
||
|
||
2019-01-12 Paul Thomas <pault@gcc.gnu.org>
|
||
|
||
* ISO_Fortran_binding.h : New file.
|
||
* Makefile.am : Include ISO_Fortran_binding.c in the list of
|
||
files to compile.
|
||
* Makefile.in : Regenerated.
|
||
* gfortran.map : Add _gfortran_cfi_desc_to_gfc_desc,
|
||
_gfortran_gfc_desc_to_cfi_desc and the CFI API functions.
|
||
* runtime/ISO_Fortran_binding.c : New file containing the new
|
||
functions added to the map.
|
||
|
||
2019-01-12 Jakub Jelinek <jakub@redhat.com>
|
||
|
||
PR libfortran/88807
|
||
* m4/minloc0.m4: Reindent to avoid -Wmisleading-indentation warnings.
|
||
* generated/minloc0_4_i1.c: Regenerated.
|
||
* generated/minloc0_4_i2.c: Regenerated.
|
||
* generated/minloc0_4_i4.c: Regenerated.
|
||
* generated/minloc0_4_i8.c: Regenerated.
|
||
* generated/minloc0_4_i16.c: Regenerated.
|
||
* generated/minloc0_4_r4.c: Regenerated.
|
||
* generated/minloc0_4_r8.c: Regenerated.
|
||
* generated/minloc0_4_r10.c: Regenerated.
|
||
* generated/minloc0_4_r16.c: Regenerated.
|
||
* generated/minloc0_8_i1.c: Regenerated.
|
||
* generated/minloc0_8_i2.c: Regenerated.
|
||
* generated/minloc0_8_i4.c: Regenerated.
|
||
* generated/minloc0_8_i8.c: Regenerated.
|
||
* generated/minloc0_8_i16.c: Regenerated.
|
||
* generated/minloc0_8_r4.c: Regenerated.
|
||
* generated/minloc0_8_r8.c: Regenerated.
|
||
* generated/minloc0_8_r10.c: Regenerated.
|
||
* generated/minloc0_8_r16.c: Regenerated.
|
||
* generated/minloc0_16_i1.c: Regenerated.
|
||
* generated/minloc0_16_i2.c: Regenerated.
|
||
* generated/minloc0_16_i4.c: Regenerated.
|
||
* generated/minloc0_16_i8.c: Regenerated.
|
||
* generated/minloc0_16_i16.c: Regenerated.
|
||
* generated/minloc0_16_r4.c: Regenerated.
|
||
* generated/minloc0_16_r8.c: Regenerated.
|
||
* generated/minloc0_16_r10.c: Regenerated.
|
||
* generated/minloc0_16_r16.c: Regenerated.
|
||
|
||
2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
|
||
|
||
PR other/16615
|
||
|
||
* caf/single.c: Mechanically replace "can not" with "cannot".
|
||
* io/unit.c: Likewise.
|
||
|
||
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 Janne Blomqvist <jb@gcc.gnu.org>
|
||
|
||
* gfortran.map (GFORTRAN_9): Make GFORTRAN_9 node depend on
|
||
GFORTRAN_8.
|
||
|
||
2019-01-01 Jakub Jelinek <jakub@redhat.com>
|
||
|
||
Update copyright years.
|
||
|
||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||
|
||
Copying and distribution of this file, with or without modification,
|
||
are permitted in any medium without royalty provided the copyright
|
||
notice and this notice are preserved.
|