public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] Handle pragma GCC optimize for clang (fix)
@ 2022-03-31 19:09 Adhemerval Zanella
  0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-03-31 19:09 UTC (permalink / raw)
  To: glibc-cvs

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

commit f933a50780d472d99b28847d74cbcc576d178455
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:01:15 2022 -0300

    Handle pragma GCC optimize for clang (fix)

Diff:
---
 malloc/tst-tcfree3.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/malloc/tst-tcfree3.c b/malloc/tst-tcfree3.c
index 3a3149b3b2..215134a9ae 100644
--- a/malloc/tst-tcfree3.c
+++ b/malloc/tst-tcfree3.c
@@ -20,7 +20,11 @@
 #include <string.h>
 
 /* Prevent GCC from optimizing away any malloc/free pairs.  */
-#pragma GCC optimize ("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
 
 static int
 do_test (void)


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

* [glibc/azanella/clang] Handle pragma GCC optimize for clang (fix)
@ 2022-06-09 21:23 Adhemerval Zanella
  0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 21:23 UTC (permalink / raw)
  To: glibc-cvs

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

commit d548ae97db29f8f5e4f9f921b8e13e3e6f6d5e05
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:01:15 2022 -0300

    Handle pragma GCC optimize for clang (fix)

Diff:
---
 malloc/tst-tcfree3.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/malloc/tst-tcfree3.c b/malloc/tst-tcfree3.c
index 3a3149b3b2..215134a9ae 100644
--- a/malloc/tst-tcfree3.c
+++ b/malloc/tst-tcfree3.c
@@ -20,7 +20,11 @@
 #include <string.h>
 
 /* Prevent GCC from optimizing away any malloc/free pairs.  */
-#pragma GCC optimize ("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
 
 static int
 do_test (void)


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

* [glibc/azanella/clang] Handle pragma GCC optimize for clang (fix)
@ 2022-06-09 13:19 Adhemerval Zanella
  0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 13:19 UTC (permalink / raw)
  To: glibc-cvs

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

commit d548ae97db29f8f5e4f9f921b8e13e3e6f6d5e05
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:01:15 2022 -0300

    Handle pragma GCC optimize for clang (fix)

Diff:
---
 malloc/tst-tcfree3.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/malloc/tst-tcfree3.c b/malloc/tst-tcfree3.c
index 3a3149b3b2..215134a9ae 100644
--- a/malloc/tst-tcfree3.c
+++ b/malloc/tst-tcfree3.c
@@ -20,7 +20,11 @@
 #include <string.h>
 
 /* Prevent GCC from optimizing away any malloc/free pairs.  */
-#pragma GCC optimize ("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
 
 static int
 do_test (void)


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

* [glibc/azanella/clang] Handle pragma GCC optimize for clang (fix)
@ 2022-06-03 14:09 Adhemerval Zanella
  0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-06-03 14:09 UTC (permalink / raw)
  To: glibc-cvs

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

commit f04384e9d9187dea107ceff3524b25e800cfdf07
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:01:15 2022 -0300

    Handle pragma GCC optimize for clang (fix)

Diff:
---
 malloc/tst-tcfree3.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/malloc/tst-tcfree3.c b/malloc/tst-tcfree3.c
index 3a3149b3b2..215134a9ae 100644
--- a/malloc/tst-tcfree3.c
+++ b/malloc/tst-tcfree3.c
@@ -20,7 +20,11 @@
 #include <string.h>
 
 /* Prevent GCC from optimizing away any malloc/free pairs.  */
-#pragma GCC optimize ("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
 
 static int
 do_test (void)


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

* [glibc/azanella/clang] Handle pragma GCC optimize for clang (fix)
@ 2022-05-13 14:23 Adhemerval Zanella
  0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-05-13 14:23 UTC (permalink / raw)
  To: glibc-cvs

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

commit bb689df217ad7df7a59500024335d95a3f0a5165
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:01:15 2022 -0300

    Handle pragma GCC optimize for clang (fix)

Diff:
---
 malloc/tst-tcfree3.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/malloc/tst-tcfree3.c b/malloc/tst-tcfree3.c
index 3a3149b3b2..215134a9ae 100644
--- a/malloc/tst-tcfree3.c
+++ b/malloc/tst-tcfree3.c
@@ -20,7 +20,11 @@
 #include <string.h>
 
 /* Prevent GCC from optimizing away any malloc/free pairs.  */
-#pragma GCC optimize ("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
 
 static int
 do_test (void)


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

* [glibc/azanella/clang] Handle pragma GCC optimize for clang (fix)
@ 2022-05-12 19:36 Adhemerval Zanella
  0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-05-12 19:36 UTC (permalink / raw)
  To: glibc-cvs

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

commit 21a41c304d78ab1d15d53daf0541d2a2e6352b10
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:01:15 2022 -0300

    Handle pragma GCC optimize for clang (fix)

Diff:
---
 malloc/tst-tcfree3.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/malloc/tst-tcfree3.c b/malloc/tst-tcfree3.c
index 3a3149b3b2..215134a9ae 100644
--- a/malloc/tst-tcfree3.c
+++ b/malloc/tst-tcfree3.c
@@ -20,7 +20,11 @@
 #include <string.h>
 
 /* Prevent GCC from optimizing away any malloc/free pairs.  */
-#pragma GCC optimize ("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
 
 static int
 do_test (void)


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

* [glibc/azanella/clang] Handle pragma GCC optimize for clang (fix)
@ 2022-05-10 18:27 Adhemerval Zanella
  0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-05-10 18:27 UTC (permalink / raw)
  To: glibc-cvs

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

commit 03446849864b340b528f91732dc329b9006eb334
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:01:15 2022 -0300

    Handle pragma GCC optimize for clang (fix)

Diff:
---
 malloc/tst-tcfree3.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/malloc/tst-tcfree3.c b/malloc/tst-tcfree3.c
index 3a3149b3b2..215134a9ae 100644
--- a/malloc/tst-tcfree3.c
+++ b/malloc/tst-tcfree3.c
@@ -20,7 +20,11 @@
 #include <string.h>
 
 /* Prevent GCC from optimizing away any malloc/free pairs.  */
-#pragma GCC optimize ("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
 
 static int
 do_test (void)


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

* [glibc/azanella/clang] Handle pragma GCC optimize for clang (fix)
@ 2022-04-29 14:07 Adhemerval Zanella
  0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-04-29 14:07 UTC (permalink / raw)
  To: glibc-cvs

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

commit a65ad2e2beba85100eb8e3f71fb582c806fc4cc6
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:01:15 2022 -0300

    Handle pragma GCC optimize for clang (fix)

Diff:
---
 malloc/tst-tcfree3.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/malloc/tst-tcfree3.c b/malloc/tst-tcfree3.c
index 3a3149b3b2..215134a9ae 100644
--- a/malloc/tst-tcfree3.c
+++ b/malloc/tst-tcfree3.c
@@ -20,7 +20,11 @@
 #include <string.h>
 
 /* Prevent GCC from optimizing away any malloc/free pairs.  */
-#pragma GCC optimize ("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
 
 static int
 do_test (void)


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

* [glibc/azanella/clang] Handle pragma GCC optimize for clang (fix)
@ 2022-04-04 12:57 Adhemerval Zanella
  0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-04-04 12:57 UTC (permalink / raw)
  To: glibc-cvs

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

commit bbfb7c7b57d5952050d825dcbc2e1a3b0862ca68
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:01:15 2022 -0300

    Handle pragma GCC optimize for clang (fix)

Diff:
---
 malloc/tst-tcfree3.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/malloc/tst-tcfree3.c b/malloc/tst-tcfree3.c
index 3a3149b3b2..215134a9ae 100644
--- a/malloc/tst-tcfree3.c
+++ b/malloc/tst-tcfree3.c
@@ -20,7 +20,11 @@
 #include <string.h>
 
 /* Prevent GCC from optimizing away any malloc/free pairs.  */
-#pragma GCC optimize ("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
 
 static int
 do_test (void)


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

* [glibc/azanella/clang] Handle pragma GCC optimize for clang (fix)
@ 2022-03-29 20:33 Adhemerval Zanella
  0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-03-29 20:33 UTC (permalink / raw)
  To: glibc-cvs

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

commit ae305bc1de49bce5739dbd318320bfa16b26c535
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 09:01:15 2022 -0300

    Handle pragma GCC optimize for clang (fix)

Diff:
---
 malloc/tst-tcfree3.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/malloc/tst-tcfree3.c b/malloc/tst-tcfree3.c
index 3a3149b3b2..215134a9ae 100644
--- a/malloc/tst-tcfree3.c
+++ b/malloc/tst-tcfree3.c
@@ -20,7 +20,11 @@
 #include <string.h>
 
 /* Prevent GCC from optimizing away any malloc/free pairs.  */
-#pragma GCC optimize ("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
 
 static int
 do_test (void)


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

end of thread, other threads:[~2022-06-09 21:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-31 19:09 [glibc/azanella/clang] Handle pragma GCC optimize for clang (fix) Adhemerval Zanella
  -- strict thread matches above, loose matches on Subject: below --
2022-06-09 21:23 Adhemerval Zanella
2022-06-09 13:19 Adhemerval Zanella
2022-06-03 14:09 Adhemerval Zanella
2022-05-13 14:23 Adhemerval Zanella
2022-05-12 19:36 Adhemerval Zanella
2022-05-10 18:27 Adhemerval Zanella
2022-04-29 14:07 Adhemerval Zanella
2022-04-04 12:57 Adhemerval Zanella
2022-03-29 20:33 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).