mirror of git://gcc.gnu.org/git/gcc.git
Backport from mainline
libgfortran/
2019-11-13 Tobias Burnus <tobias@codesourcery.com>
PR fortran/92470
* runtime/ISO_Fortran_binding.c (CFI_establish): Set lower_bound to 0
also for CFI_attribute_other.
2019-11-12 Tobias Burnus <tobias@codesourcery.com>
PR fortran/92470
* runtime/ISO_Fortran_binding.c (CFI_address): Handle non-zero
lower_bound; update error message.
(CFI_allocate): Fix comment typo.
(CFI_establish): Fix identation, fix typos, don't check values of 'dv'
argument.
gcc/testsuite/
2019-11-13 Tobias Burnus <tobias@codesourcery.com>
PR fortran/92470
* gfortran.dg/ISO_Fortran_binding_1.c (establish_c): Add assert for
lower_bound == 0.
2019-11-12 Tobias Burnus <tobias@codesourcery.com>
PR fortran/92470
* gfortran.dg/ISO_Fortran_binding_17.c: New.
* gfortran.dg/ISO_Fortran_binding_17.f90: New.
* gfortran.dg/ISO_Fortran_binding_1.c (elemental_mult_c, allocate_c,
section_c, select_part_c): Update for CFI_{address} changes;
add asserts.
From-SVN: r278143
|
||
|---|---|---|
| .. | ||
| ISO_Fortran_binding.c | ||
| backtrace.c | ||
| bounds.c | ||
| compile_options.c | ||
| convert_char.c | ||
| environ.c | ||
| error.c | ||
| fpu.c | ||
| in_pack_generic.c | ||
| in_unpack_generic.c | ||
| main.c | ||
| memory.c | ||
| minimal.c | ||
| pause.c | ||
| select.c | ||
| select_inc.c | ||
| stop.c | ||
| string.c | ||