[Bug fortran/57598] [Coarray, caf] Add FPE summary printing for ERROR STOP
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 20 07:48:13 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57598
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Andre Vehreschild <vehre@gcc.gnu.org>:
https://gcc.gnu.org/g:a25cc26884663244c3b936af785854abee8949dd
commit r15-6383-ga25cc26884663244c3b936af785854abee8949dd
Author: Andre Vehreschild <vehre@gcc.gnu.org>
Date: Wed Dec 18 12:43:39 2024 +0100
Fortran: Fix caf_stop_numeric and reporting exceptions from caf [PR57598]
Caf_stop_numeric always exited with code 0, which is wrong. It shall
behave like regular stop. Add reporting exceptions to caf's stop
handlers. For this the existing library routine had to be exported.
libgfortran/ChangeLog:
PR fortran/57598
* caf/single.c (_gfortran_caf_stop_numeric): Report exceptions
on stop. And fix send_by_ref.
(_gfortran_caf_stop_str): Same.
(_gfortran_caf_error_stop_str): Same.
(_gfortran_caf_error_stop): Same.
* gfortran.map: Add report_exception for export.
* libgfortran.h (report_exception): Add to internal export.
* runtime/stop.c (report_exception): Same.
More information about the Gcc-bugs
mailing list