[Bug libfortran/77663] libgfortran/caf/single.c: three minor problems and a lost token
vehre at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Oct 1 14:01:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77663
--- Comment #3 from vehre at gcc dot gnu.org ---
Author: vehre
Date: Sat Oct 1 14:00:57 2016
New Revision: 240695
URL: https://gcc.gnu.org/viewcvs?rev=240695&root=gcc&view=rev
Log:
gcc/testsuite/ChangeLog:
2016-10-01 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/77663
* gfortran.dg/coarray_send_by_ref_1.f08: New test.
libgfortran/ChangeLog:
2016-10-01 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/77663
* caf/single.c (caf_internal_error): Fix not terminating va-list.
(_gfortran_caf_register): Free memory also when other allocs failed.
(_gfortran_caf_get_by_ref): Fixed style.
(send_by_ref): Token is now stored at the correct position preventing
inaccessible tokens, memory loss and possibly crashes.
Added:
trunk/gcc/testsuite/gfortran.dg/coarray_send_by_ref_1.f08
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/libgfortran/ChangeLog
trunk/libgfortran/caf/single.c
More information about the Gcc-bugs
mailing list