summaryrefslogtreecommitdiff
path: root/devel/flang/files/patch-runtime_include_mthdecls.h
diff options
context:
space:
mode:
authorJohannes M Dieterich <jmd@FreeBSD.org>2018-09-06 20:11:06 +0000
committerJohannes M Dieterich <jmd@FreeBSD.org>2018-09-06 20:11:06 +0000
commit443e836030631cceb673d40d2e6c0469a1c8e6ad (patch)
tree4217c2e3763aa77b472700fe22638d586c208751 /devel/flang/files/patch-runtime_include_mthdecls.h
parentnew port: math/libpgmath (diff)
devel/flang[-clang]: update to later snapshots
This introduces flang-driver, a clang6-derived driver / companion compiler, and uses math/libpgmath as the math library backend. Notably, the latter currently limits us to 12-CURRENT. Patches are a combination of carry-over and adapted OpenBSD ones. While there, pet portlint. Reviewed by: zeising (mentor), mat Approved by: zeising (mentor) Obtained from: Brian Callahan (bcallah@openbsd.org) with adaptations Differential Revision: https://reviews.freebsd.org/D17036
Notes
Notes: svn path=/head/; revision=479159
Diffstat (limited to 'devel/flang/files/patch-runtime_include_mthdecls.h')
-rw-r--r--devel/flang/files/patch-runtime_include_mthdecls.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/devel/flang/files/patch-runtime_include_mthdecls.h b/devel/flang/files/patch-runtime_include_mthdecls.h
deleted file mode 100644
index 298a460da21a..000000000000
--- a/devel/flang/files/patch-runtime_include_mthdecls.h
+++ /dev/null
@@ -1,29 +0,0 @@
---- runtime/include/mthdecls.h.orig 2017-10-19 11:03:03 UTC
-+++ runtime/include/mthdecls.h
-@@ -536,19 +536,6 @@ double __mth_i_dbessel_y1(double arg);
- double __mth_i_dbessel_yn(int n, double arg);
- double __f90_dbessel_yn(int n1, int n, double d);
-
--#if ! defined (TARGET_X8664) && ! defined(LINUX8664)
--/*
-- * See explanation below for rationale behind the two flavors of __mth_sincos.
-- */
--static inline void __mth_sincos(float angle, float *s, float *c)
-- __attribute__((always_inline));
--static inline void __mth_dsincos(double angle, double *s, double *c)
-- __attribute__((always_inline));
--#else /* ! defined (TARGET_X8664) && ! defined(LINUX8664) */
--void __mth_sincos(float, float *, float *);
--void __mth_dsincos(double, double *, double *);
--#endif /* ! defined (TARGET_X8664) && ! defined(LINUX8664) */
--
- FLTDECL_C(__mth_i_cabs);
- CMPLXDECL_C(__mth_i_cacos);
- CMPLXDECL_C(__mth_i_casin);
-@@ -657,6 +644,3 @@ extern complex double ctan(complex double);
- * have a version of __mth_sincos, even if it is not external available
- * during the build process.
- */
--
--#define __mth_sincos(_a,_s,_c) sincosf(_a,_s,_c)
--#define __mth_dsincos(_a,_s,_c) sincos(_a,_s,_c)