public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] math: Define CMPLX(F,L) for clang
@ 2022-10-28 17:43 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-10-28 17:43 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3e4d85ba6fce01914e2e984edc8c579b3aa81fc6

commit 3e4d85ba6fce01914e2e984edc8c579b3aa81fc6
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 13:13:43 2022 -0300

    math: Define CMPLX(F,L) for clang

Diff:
---
 math/complex.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/complex.h b/math/complex.h
index 5948fa849e..7bbef4b6b2 100644
--- a/math/complex.h
+++ b/math/complex.h
@@ -52,7 +52,7 @@ __BEGIN_DECLS
 #undef I
 #define I _Complex_I
 
-#if defined __USE_ISOC11 && __GNUC_PREREQ (4, 7)
+#if defined __USE_ISOC11 && (__GNUC_PREREQ (4, 7) || defined __clang__)
 /* Macros to expand into expression of specified complex type.  */
 # define CMPLX(x, y) __builtin_complex ((double) (x), (double) (y))
 # define CMPLXF(x, y) __builtin_complex ((float) (x), (float) (y))

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Define CMPLX(F,L) for clang
@ 2024-02-09 17:33 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2024-02-09 17:33 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=756031e69489453cccf14964ae8d8e6fdd27510a

commit 756031e69489453cccf14964ae8d8e6fdd27510a
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 13:13:43 2022 -0300

    math: Define CMPLX(F,L) for clang

Diff:
---
 math/complex.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/complex.h b/math/complex.h
index 29702f4ad4..a5d2f1a8b0 100644
--- a/math/complex.h
+++ b/math/complex.h
@@ -52,7 +52,7 @@ __BEGIN_DECLS
 #undef I
 #define I _Complex_I
 
-#if defined __USE_ISOC11 && __GNUC_PREREQ (4, 7)
+#if defined __USE_ISOC11 && (__GNUC_PREREQ (4, 7) || defined __clang__)
 /* Macros to expand into expression of specified complex type.  */
 # define CMPLX(x, y) __builtin_complex ((double) (x), (double) (y))
 # define CMPLXF(x, y) __builtin_complex ((float) (x), (float) (y))

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Define CMPLX(F,L) for clang
@ 2024-02-07 14:08 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2024-02-07 14:08 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=bcc0317ceb72b64f5f93f1ef9b60460c36c9805b

commit bcc0317ceb72b64f5f93f1ef9b60460c36c9805b
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 13:13:43 2022 -0300

    math: Define CMPLX(F,L) for clang

Diff:
---
 math/complex.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/complex.h b/math/complex.h
index 29702f4ad4..a5d2f1a8b0 100644
--- a/math/complex.h
+++ b/math/complex.h
@@ -52,7 +52,7 @@ __BEGIN_DECLS
 #undef I
 #define I _Complex_I
 
-#if defined __USE_ISOC11 && __GNUC_PREREQ (4, 7)
+#if defined __USE_ISOC11 && (__GNUC_PREREQ (4, 7) || defined __clang__)
 /* Macros to expand into expression of specified complex type.  */
 # define CMPLX(x, y) __builtin_complex ((double) (x), (double) (y))
 # define CMPLXF(x, y) __builtin_complex ((float) (x), (float) (y))

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Define CMPLX(F,L) for clang
@ 2024-01-29 17:58 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2024-01-29 17:58 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=60f1a87670a2e66ad94be3eb5e8adb96d683df65

commit 60f1a87670a2e66ad94be3eb5e8adb96d683df65
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 13:13:43 2022 -0300

    math: Define CMPLX(F,L) for clang

Diff:
---
 math/complex.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/complex.h b/math/complex.h
index 29702f4ad4..a5d2f1a8b0 100644
--- a/math/complex.h
+++ b/math/complex.h
@@ -52,7 +52,7 @@ __BEGIN_DECLS
 #undef I
 #define I _Complex_I
 
-#if defined __USE_ISOC11 && __GNUC_PREREQ (4, 7)
+#if defined __USE_ISOC11 && (__GNUC_PREREQ (4, 7) || defined __clang__)
 /* Macros to expand into expression of specified complex type.  */
 # define CMPLX(x, y) __builtin_complex ((double) (x), (double) (y))
 # define CMPLXF(x, y) __builtin_complex ((float) (x), (float) (y))

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Define CMPLX(F,L) for clang
@ 2023-12-21 18:55 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2023-12-21 18:55 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e91d283f1d15e99da1529aca504f65e67ec95a45

commit e91d283f1d15e99da1529aca504f65e67ec95a45
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 13:13:43 2022 -0300

    math: Define CMPLX(F,L) for clang

Diff:
---
 math/complex.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/complex.h b/math/complex.h
index 0b943627d9..5fc03399d7 100644
--- a/math/complex.h
+++ b/math/complex.h
@@ -52,7 +52,7 @@ __BEGIN_DECLS
 #undef I
 #define I _Complex_I
 
-#if defined __USE_ISOC11 && __GNUC_PREREQ (4, 7)
+#if defined __USE_ISOC11 && (__GNUC_PREREQ (4, 7) || defined __clang__)
 /* Macros to expand into expression of specified complex type.  */
 # define CMPLX(x, y) __builtin_complex ((double) (x), (double) (y))
 # define CMPLXF(x, y) __builtin_complex ((float) (x), (float) (y))

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Define CMPLX(F,L) for clang
@ 2023-09-28 17:53 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2023-09-28 17:53 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5029d36208aad358ef7b09d6cfc37d7f6df02ef4

commit 5029d36208aad358ef7b09d6cfc37d7f6df02ef4
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 13:13:43 2022 -0300

    math: Define CMPLX(F,L) for clang

Diff:
---
 math/complex.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/complex.h b/math/complex.h
index 0b943627d9..5fc03399d7 100644
--- a/math/complex.h
+++ b/math/complex.h
@@ -52,7 +52,7 @@ __BEGIN_DECLS
 #undef I
 #define I _Complex_I
 
-#if defined __USE_ISOC11 && __GNUC_PREREQ (4, 7)
+#if defined __USE_ISOC11 && (__GNUC_PREREQ (4, 7) || defined __clang__)
 /* Macros to expand into expression of specified complex type.  */
 # define CMPLX(x, y) __builtin_complex ((double) (x), (double) (y))
 # define CMPLXF(x, y) __builtin_complex ((float) (x), (float) (y))

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Define CMPLX(F,L) for clang
@ 2023-08-30 12:38 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2023-08-30 12:38 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ba00fe82ac1636a8d5f659d1b7290d82242bcec8

commit ba00fe82ac1636a8d5f659d1b7290d82242bcec8
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 13:13:43 2022 -0300

    math: Define CMPLX(F,L) for clang

Diff:
---
 math/complex.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/complex.h b/math/complex.h
index 0b943627d9..5fc03399d7 100644
--- a/math/complex.h
+++ b/math/complex.h
@@ -52,7 +52,7 @@ __BEGIN_DECLS
 #undef I
 #define I _Complex_I
 
-#if defined __USE_ISOC11 && __GNUC_PREREQ (4, 7)
+#if defined __USE_ISOC11 && (__GNUC_PREREQ (4, 7) || defined __clang__)
 /* Macros to expand into expression of specified complex type.  */
 # define CMPLX(x, y) __builtin_complex ((double) (x), (double) (y))
 # define CMPLXF(x, y) __builtin_complex ((float) (x), (float) (y))

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Define CMPLX(F,L) for clang
@ 2023-02-09 19:50 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2023-02-09 19:50 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1e71cfefd34cd09f63dbcd90528603b5472b2e84

commit 1e71cfefd34cd09f63dbcd90528603b5472b2e84
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 13:13:43 2022 -0300

    math: Define CMPLX(F,L) for clang

Diff:
---
 math/complex.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/complex.h b/math/complex.h
index 0b943627d9..5fc03399d7 100644
--- a/math/complex.h
+++ b/math/complex.h
@@ -52,7 +52,7 @@ __BEGIN_DECLS
 #undef I
 #define I _Complex_I
 
-#if defined __USE_ISOC11 && __GNUC_PREREQ (4, 7)
+#if defined __USE_ISOC11 && (__GNUC_PREREQ (4, 7) || defined __clang__)
 /* Macros to expand into expression of specified complex type.  */
 # define CMPLX(x, y) __builtin_complex ((double) (x), (double) (y))
 # define CMPLXF(x, y) __builtin_complex ((float) (x), (float) (y))

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Define CMPLX(F,L) for clang
@ 2022-10-04 13:00 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-10-04 13:00 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7e0d1f02c33e331c8e6069bf2ed8644e0897da41

commit 7e0d1f02c33e331c8e6069bf2ed8644e0897da41
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 13:13:43 2022 -0300

    math: Define CMPLX(F,L) for clang

Diff:
---
 math/complex.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/complex.h b/math/complex.h
index 5948fa849e..7bbef4b6b2 100644
--- a/math/complex.h
+++ b/math/complex.h
@@ -52,7 +52,7 @@ __BEGIN_DECLS
 #undef I
 #define I _Complex_I
 
-#if defined __USE_ISOC11 && __GNUC_PREREQ (4, 7)
+#if defined __USE_ISOC11 && (__GNUC_PREREQ (4, 7) || defined __clang__)
 /* Macros to expand into expression of specified complex type.  */
 # define CMPLX(x, y) __builtin_complex ((double) (x), (double) (y))
 # define CMPLXF(x, y) __builtin_complex ((float) (x), (float) (y))

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Define CMPLX(F,L) for clang
@ 2022-06-09 21:21 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 21:21 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8090e2419bba375fe629eb00690e36a563625c6e

commit 8090e2419bba375fe629eb00690e36a563625c6e
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 13:13:43 2022 -0300

    math: Define CMPLX(F,L) for clang

Diff:
---
 math/complex.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/complex.h b/math/complex.h
index 5948fa849e..7bbef4b6b2 100644
--- a/math/complex.h
+++ b/math/complex.h
@@ -52,7 +52,7 @@ __BEGIN_DECLS
 #undef I
 #define I _Complex_I
 
-#if defined __USE_ISOC11 && __GNUC_PREREQ (4, 7)
+#if defined __USE_ISOC11 && (__GNUC_PREREQ (4, 7) || defined __clang__)
 /* Macros to expand into expression of specified complex type.  */
 # define CMPLX(x, y) __builtin_complex ((double) (x), (double) (y))
 # define CMPLXF(x, y) __builtin_complex ((float) (x), (float) (y))


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Define CMPLX(F,L) for clang
@ 2022-06-09 13:18 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 13:18 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8090e2419bba375fe629eb00690e36a563625c6e

commit 8090e2419bba375fe629eb00690e36a563625c6e
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 13:13:43 2022 -0300

    math: Define CMPLX(F,L) for clang

Diff:
---
 math/complex.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/complex.h b/math/complex.h
index 5948fa849e..7bbef4b6b2 100644
--- a/math/complex.h
+++ b/math/complex.h
@@ -52,7 +52,7 @@ __BEGIN_DECLS
 #undef I
 #define I _Complex_I
 
-#if defined __USE_ISOC11 && __GNUC_PREREQ (4, 7)
+#if defined __USE_ISOC11 && (__GNUC_PREREQ (4, 7) || defined __clang__)
 /* Macros to expand into expression of specified complex type.  */
 # define CMPLX(x, y) __builtin_complex ((double) (x), (double) (y))
 # define CMPLXF(x, y) __builtin_complex ((float) (x), (float) (y))


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Define CMPLX(F,L) for clang
@ 2022-06-03 14:07 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-06-03 14:07 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5b7834c001b5854bd0849725335fffa4dcc99fb9

commit 5b7834c001b5854bd0849725335fffa4dcc99fb9
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 13:13:43 2022 -0300

    math: Define CMPLX(F,L) for clang

Diff:
---
 math/complex.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/complex.h b/math/complex.h
index 5948fa849e..7bbef4b6b2 100644
--- a/math/complex.h
+++ b/math/complex.h
@@ -52,7 +52,7 @@ __BEGIN_DECLS
 #undef I
 #define I _Complex_I
 
-#if defined __USE_ISOC11 && __GNUC_PREREQ (4, 7)
+#if defined __USE_ISOC11 && (__GNUC_PREREQ (4, 7) || defined __clang__)
 /* Macros to expand into expression of specified complex type.  */
 # define CMPLX(x, y) __builtin_complex ((double) (x), (double) (y))
 # define CMPLXF(x, y) __builtin_complex ((float) (x), (float) (y))


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Define CMPLX(F,L) for clang
@ 2022-05-13 14:21 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-05-13 14:21 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c08ac7b7132513633e6dad3d0d7d3eb41b7dbe9a

commit c08ac7b7132513633e6dad3d0d7d3eb41b7dbe9a
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 13:13:43 2022 -0300

    math: Define CMPLX(F,L) for clang

Diff:
---
 math/complex.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/complex.h b/math/complex.h
index 5948fa849e..7bbef4b6b2 100644
--- a/math/complex.h
+++ b/math/complex.h
@@ -52,7 +52,7 @@ __BEGIN_DECLS
 #undef I
 #define I _Complex_I
 
-#if defined __USE_ISOC11 && __GNUC_PREREQ (4, 7)
+#if defined __USE_ISOC11 && (__GNUC_PREREQ (4, 7) || defined __clang__)
 /* Macros to expand into expression of specified complex type.  */
 # define CMPLX(x, y) __builtin_complex ((double) (x), (double) (y))
 # define CMPLXF(x, y) __builtin_complex ((float) (x), (float) (y))


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Define CMPLX(F,L) for clang
@ 2022-05-12 19:35 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-05-12 19:35 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=32db3516caf56f72efeb67f550a643af8d7b2142

commit 32db3516caf56f72efeb67f550a643af8d7b2142
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 13:13:43 2022 -0300

    math: Define CMPLX(F,L) for clang

Diff:
---
 math/complex.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/complex.h b/math/complex.h
index 5948fa849e..7bbef4b6b2 100644
--- a/math/complex.h
+++ b/math/complex.h
@@ -52,7 +52,7 @@ __BEGIN_DECLS
 #undef I
 #define I _Complex_I
 
-#if defined __USE_ISOC11 && __GNUC_PREREQ (4, 7)
+#if defined __USE_ISOC11 && (__GNUC_PREREQ (4, 7) || defined __clang__)
 /* Macros to expand into expression of specified complex type.  */
 # define CMPLX(x, y) __builtin_complex ((double) (x), (double) (y))
 # define CMPLXF(x, y) __builtin_complex ((float) (x), (float) (y))


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Define CMPLX(F,L) for clang
@ 2022-05-10 18:25 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-05-10 18:25 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f121d5abef7a34639ce3de17b190aba7b22589a1

commit f121d5abef7a34639ce3de17b190aba7b22589a1
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 13:13:43 2022 -0300

    math: Define CMPLX(F,L) for clang

Diff:
---
 math/complex.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/complex.h b/math/complex.h
index 5948fa849e..7bbef4b6b2 100644
--- a/math/complex.h
+++ b/math/complex.h
@@ -52,7 +52,7 @@ __BEGIN_DECLS
 #undef I
 #define I _Complex_I
 
-#if defined __USE_ISOC11 && __GNUC_PREREQ (4, 7)
+#if defined __USE_ISOC11 && (__GNUC_PREREQ (4, 7) || defined __clang__)
 /* Macros to expand into expression of specified complex type.  */
 # define CMPLX(x, y) __builtin_complex ((double) (x), (double) (y))
 # define CMPLXF(x, y) __builtin_complex ((float) (x), (float) (y))


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Define CMPLX(F,L) for clang
@ 2022-04-29 14:05 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-04-29 14:05 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=788bf30a7dcfe067dda54b13968437bffe916cf1

commit 788bf30a7dcfe067dda54b13968437bffe916cf1
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 13:13:43 2022 -0300

    math: Define CMPLX(F,L) for clang

Diff:
---
 math/complex.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/complex.h b/math/complex.h
index 5948fa849e..7bbef4b6b2 100644
--- a/math/complex.h
+++ b/math/complex.h
@@ -52,7 +52,7 @@ __BEGIN_DECLS
 #undef I
 #define I _Complex_I
 
-#if defined __USE_ISOC11 && __GNUC_PREREQ (4, 7)
+#if defined __USE_ISOC11 && (__GNUC_PREREQ (4, 7) || defined __clang__)
 /* Macros to expand into expression of specified complex type.  */
 # define CMPLX(x, y) __builtin_complex ((double) (x), (double) (y))
 # define CMPLXF(x, y) __builtin_complex ((float) (x), (float) (y))


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Define CMPLX(F,L) for clang
@ 2022-04-04 12:55 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-04-04 12:55 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7f64f47223b2edd9e5ce56a63cde6e69742e5f65

commit 7f64f47223b2edd9e5ce56a63cde6e69742e5f65
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 13:13:43 2022 -0300

    math: Define CMPLX(F,L) for clang

Diff:
---
 math/complex.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/complex.h b/math/complex.h
index 5948fa849e..7bbef4b6b2 100644
--- a/math/complex.h
+++ b/math/complex.h
@@ -52,7 +52,7 @@ __BEGIN_DECLS
 #undef I
 #define I _Complex_I
 
-#if defined __USE_ISOC11 && __GNUC_PREREQ (4, 7)
+#if defined __USE_ISOC11 && (__GNUC_PREREQ (4, 7) || defined __clang__)
 /* Macros to expand into expression of specified complex type.  */
 # define CMPLX(x, y) __builtin_complex ((double) (x), (double) (y))
 # define CMPLXF(x, y) __builtin_complex ((float) (x), (float) (y))


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Define CMPLX(F,L) for clang
@ 2022-03-31 19:08 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-03-31 19:08 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0322d3babadc282ca504df3cb11bddb59feffe9a

commit 0322d3babadc282ca504df3cb11bddb59feffe9a
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 13:13:43 2022 -0300

    math: Define CMPLX(F,L) for clang

Diff:
---
 math/complex.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/complex.h b/math/complex.h
index 5948fa849e..7bbef4b6b2 100644
--- a/math/complex.h
+++ b/math/complex.h
@@ -52,7 +52,7 @@ __BEGIN_DECLS
 #undef I
 #define I _Complex_I
 
-#if defined __USE_ISOC11 && __GNUC_PREREQ (4, 7)
+#if defined __USE_ISOC11 && (__GNUC_PREREQ (4, 7) || defined __clang__)
 /* Macros to expand into expression of specified complex type.  */
 # define CMPLX(x, y) __builtin_complex ((double) (x), (double) (y))
 # define CMPLXF(x, y) __builtin_complex ((float) (x), (float) (y))


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [glibc/azanella/clang] math: Define CMPLX(F,L) for clang
@ 2022-03-29 20:31 Adhemerval Zanella
  0 siblings, 0 replies; 19+ messages in thread
From: Adhemerval Zanella @ 2022-03-29 20:31 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=636297a8cca03c7ba73cc18649bb175cff754a42

commit 636297a8cca03c7ba73cc18649bb175cff754a42
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 13:13:43 2022 -0300

    math: Define CMPLX(F,L) for clang

Diff:
---
 math/complex.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/complex.h b/math/complex.h
index 5948fa849e..7bbef4b6b2 100644
--- a/math/complex.h
+++ b/math/complex.h
@@ -52,7 +52,7 @@ __BEGIN_DECLS
 #undef I
 #define I _Complex_I
 
-#if defined __USE_ISOC11 && __GNUC_PREREQ (4, 7)
+#if defined __USE_ISOC11 && (__GNUC_PREREQ (4, 7) || defined __clang__)
 /* Macros to expand into expression of specified complex type.  */
 # define CMPLX(x, y) __builtin_complex ((double) (x), (double) (y))
 # define CMPLXF(x, y) __builtin_complex ((float) (x), (float) (y))


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2024-02-09 17:33 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-28 17:43 [glibc/azanella/clang] math: Define CMPLX(F,L) for clang Adhemerval Zanella
  -- strict thread matches above, loose matches on Subject: below --
2024-02-09 17:33 Adhemerval Zanella
2024-02-07 14:08 Adhemerval Zanella
2024-01-29 17:58 Adhemerval Zanella
2023-12-21 18:55 Adhemerval Zanella
2023-09-28 17:53 Adhemerval Zanella
2023-08-30 12:38 Adhemerval Zanella
2023-02-09 19:50 Adhemerval Zanella
2022-10-04 13:00 Adhemerval Zanella
2022-06-09 21:21 Adhemerval Zanella
2022-06-09 13:18 Adhemerval Zanella
2022-06-03 14:07 Adhemerval Zanella
2022-05-13 14:21 Adhemerval Zanella
2022-05-12 19:35 Adhemerval Zanella
2022-05-10 18:25 Adhemerval Zanella
2022-04-29 14:05 Adhemerval Zanella
2022-04-04 12:55 Adhemerval Zanella
2022-03-31 19:08 Adhemerval Zanella
2022-03-29 20:31 Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).