a8fea8cd86
This brings the library to compile with all specific functions. It also corrects the patsubst patterns so the right files get the flags. It was necessary to manually add -D__powerpc64__ because apparently this is not set for Fortran. libgfortran/ChangeLog: * Makefile.am: Correct files for compilation flags. Add -D__powerpc64__ for Fortran sources. Get kinds.inc from grep of kinds.h and kinds-override.h. * Makefile.in: Regenerate. * config.h.in: Regenerate. * configure: Regenerate. * configure.ac: Add -mno-gnu-attribute to compile flags. * generated/_abs_c17.F90: Regenerate. * generated/_abs_r17.F90: Regenerate. * generated/_acos_r17.F90: Regenerate. * generated/_acosh_r17.F90: Regenerate. * generated/_aimag_c17.F90: Regenerate. * generated/_aint_r17.F90: Regenerate. * generated/_anint_r17.F90: Regenerate. * generated/_asin_r17.F90: Regenerate. * generated/_asinh_r17.F90: Regenerate. * generated/_atan2_r17.F90: Regenerate. * generated/_atan_r17.F90: Regenerate. * generated/_atanh_r17.F90: Regenerate. * generated/_conjg_c17.F90: Regenerate. * generated/_cos_c17.F90: Regenerate. * generated/_cos_r17.F90: Regenerate. * generated/_cosh_r17.F90: Regenerate. * generated/_dim_r17.F90: Regenerate. * generated/_exp_c17.F90: Regenerate. * generated/_exp_r17.F90: Regenerate. * generated/_log10_r17.F90: Regenerate. * generated/_log_c17.F90: Regenerate. * generated/_log_r17.F90: Regenerate. * generated/_mod_r17.F90: Regenerate. * generated/_sign_r17.F90: Regenerate. * generated/_sin_c17.F90: Regenerate. * generated/_sin_r17.F90: Regenerate. * generated/_sinh_r17.F90: Regenerate. * generated/_sqrt_c17.F90: Regenerate. * generated/_sqrt_r17.F90: Regenerate. * generated/_tan_r17.F90: Regenerate. * generated/_tanh_r17.F90: Regenerate. * kinds-override.h: Adjust to trunk. Change condition to single line so it can be grepped. * m4/specific.m4: Make sure that real=kind16 is used for _r17.F90 and _c17.F90 files. * m4/specific2.m4: Likewise.
47 lines
1.4 KiB
Fortran
47 lines
1.4 KiB
Fortran
! Copyright (C) 2002-2022 Free Software Foundation, Inc.
|
|
! Contributed by Paul Brook <paul@nowt.org>
|
|
!
|
|
!This file is part of the GNU Fortran 95 runtime library (libgfortran).
|
|
!
|
|
!GNU libgfortran is free software; you can redistribute it and/or
|
|
!modify it under the terms of the GNU General Public
|
|
!License as published by the Free Software Foundation; either
|
|
!version 3 of the License, or (at your option) any later version.
|
|
|
|
!GNU libgfortran is distributed in the hope that it will be useful,
|
|
!but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
!MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
!GNU General Public License for more details.
|
|
!
|
|
!Under Section 7 of GPL version 3, you are granted additional
|
|
!permissions described in the GCC Runtime Library Exception, version
|
|
!3.1, as published by the Free Software Foundation.
|
|
!
|
|
!You should have received a copy of the GNU General Public License and
|
|
!a copy of the GCC Runtime Library Exception along with this program;
|
|
!see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
|
!<http://www.gnu.org/licenses/>.
|
|
!
|
|
!This file is machine generated.
|
|
|
|
|
|
|
|
|
|
|
|
#include "config.h"
|
|
#include "kinds.inc"
|
|
#include "c99_protos.inc"
|
|
|
|
#if defined (HAVE_GFC_REAL_17)
|
|
#ifdef HAVE_FABSL
|
|
|
|
elemental function _gfortran_specific__abs_r17 (parm)
|
|
real (kind=16), intent (in) :: parm
|
|
real (kind=16) :: _gfortran_specific__abs_r17
|
|
|
|
_gfortran_specific__abs_r17 = abs (parm)
|
|
end function
|
|
|
|
#endif
|
|
#endif
|