[Bug libfortran/94694] [10 Regression][libgfortran] libgfortran does not compile on bare-metal aarch64-none-elf (newlib)

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 21 17:42:18 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94694

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to rguenther@suse.de from comment #16)
> Maybe they can be implemented like
> 
> long double _gfortran_xyz (long double x)
> {
>   __sorry_fortran_intrinsic_xyz_is_not_available_because_cosl_is_not ();
> }
> 
> instead of simply not providing them.  Coordination between the FE
> and (the various multilibs of) libgfortran and emitting diagnostics
> from the FE would of course be even better.

libgfortran has runtime_error or internal_error and other functions that can
deliver messages to the user, sure.


More information about the Gcc-bugs mailing list