public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] libio: Handle pragma GCC optimize for clang
@ 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=7383f07f928693e492f8b70a46971f20f975bd14
commit 7383f07f928693e492f8b70a46971f20f975bd14
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 24 16:17:59 2022 -0300
libio: Handle pragma GCC optimize for clang
Diff:
---
libio/tst-bz24051.c | 6 +++++-
libio/tst-bz24153.c | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/libio/tst-bz24051.c b/libio/tst-bz24051.c
index f315525071..3649dbbdbd 100644
--- a/libio/tst-bz24051.c
+++ b/libio/tst-bz24051.c
@@ -19,7 +19,11 @@
/* Prevent putchar -> _IO_putc inline expansion. */
#define __NO_INLINE__
-#pragma GCC optimize("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
#include <stdio.h>
#include <string.h>
diff --git a/libio/tst-bz24153.c b/libio/tst-bz24153.c
index a069bf0695..9cfaa3b83c 100644
--- a/libio/tst-bz24153.c
+++ b/libio/tst-bz24153.c
@@ -18,7 +18,11 @@
/* Prevent getchar -> getc inline expansion. */
#define __NO_INLINE__
-#pragma GCC optimize ("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
#include <stdarg.h>
#include <stdio.h>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [glibc/azanella/clang] libio: Handle pragma GCC optimize for clang
@ 2022-06-09 21:22 Adhemerval Zanella
0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 21:22 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6ce557879336043302079e3215ad84e84d2de4c8
commit 6ce557879336043302079e3215ad84e84d2de4c8
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 24 16:17:59 2022 -0300
libio: Handle pragma GCC optimize for clang
Diff:
---
libio/tst-bz24051.c | 6 +++++-
libio/tst-bz24153.c | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/libio/tst-bz24051.c b/libio/tst-bz24051.c
index f315525071..3649dbbdbd 100644
--- a/libio/tst-bz24051.c
+++ b/libio/tst-bz24051.c
@@ -19,7 +19,11 @@
/* Prevent putchar -> _IO_putc inline expansion. */
#define __NO_INLINE__
-#pragma GCC optimize("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
#include <stdio.h>
#include <string.h>
diff --git a/libio/tst-bz24153.c b/libio/tst-bz24153.c
index a069bf0695..9cfaa3b83c 100644
--- a/libio/tst-bz24153.c
+++ b/libio/tst-bz24153.c
@@ -18,7 +18,11 @@
/* Prevent getchar -> getc inline expansion. */
#define __NO_INLINE__
-#pragma GCC optimize ("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
#include <stdarg.h>
#include <stdio.h>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [glibc/azanella/clang] libio: Handle pragma GCC optimize for clang
@ 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=6ce557879336043302079e3215ad84e84d2de4c8
commit 6ce557879336043302079e3215ad84e84d2de4c8
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 24 16:17:59 2022 -0300
libio: Handle pragma GCC optimize for clang
Diff:
---
libio/tst-bz24051.c | 6 +++++-
libio/tst-bz24153.c | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/libio/tst-bz24051.c b/libio/tst-bz24051.c
index f315525071..3649dbbdbd 100644
--- a/libio/tst-bz24051.c
+++ b/libio/tst-bz24051.c
@@ -19,7 +19,11 @@
/* Prevent putchar -> _IO_putc inline expansion. */
#define __NO_INLINE__
-#pragma GCC optimize("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
#include <stdio.h>
#include <string.h>
diff --git a/libio/tst-bz24153.c b/libio/tst-bz24153.c
index a069bf0695..9cfaa3b83c 100644
--- a/libio/tst-bz24153.c
+++ b/libio/tst-bz24153.c
@@ -18,7 +18,11 @@
/* Prevent getchar -> getc inline expansion. */
#define __NO_INLINE__
-#pragma GCC optimize ("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
#include <stdarg.h>
#include <stdio.h>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [glibc/azanella/clang] libio: Handle pragma GCC optimize for clang
@ 2022-06-03 14:08 Adhemerval Zanella
0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-06-03 14:08 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=bf00caf9488cc6125e71709be8f7ec57e798ee16
commit bf00caf9488cc6125e71709be8f7ec57e798ee16
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 24 16:17:59 2022 -0300
libio: Handle pragma GCC optimize for clang
Diff:
---
libio/tst-bz24051.c | 6 +++++-
libio/tst-bz24153.c | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/libio/tst-bz24051.c b/libio/tst-bz24051.c
index f315525071..3649dbbdbd 100644
--- a/libio/tst-bz24051.c
+++ b/libio/tst-bz24051.c
@@ -19,7 +19,11 @@
/* Prevent putchar -> _IO_putc inline expansion. */
#define __NO_INLINE__
-#pragma GCC optimize("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
#include <stdio.h>
#include <string.h>
diff --git a/libio/tst-bz24153.c b/libio/tst-bz24153.c
index a069bf0695..9cfaa3b83c 100644
--- a/libio/tst-bz24153.c
+++ b/libio/tst-bz24153.c
@@ -18,7 +18,11 @@
/* Prevent getchar -> getc inline expansion. */
#define __NO_INLINE__
-#pragma GCC optimize ("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
#include <stdarg.h>
#include <stdio.h>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [glibc/azanella/clang] libio: Handle pragma GCC optimize for clang
@ 2022-05-13 14:22 Adhemerval Zanella
0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-05-13 14:22 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d93cd7e322141089bf3f1f3154ac2cc28c778f2c
commit d93cd7e322141089bf3f1f3154ac2cc28c778f2c
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 24 16:17:59 2022 -0300
libio: Handle pragma GCC optimize for clang
Diff:
---
libio/tst-bz24051.c | 6 +++++-
libio/tst-bz24153.c | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/libio/tst-bz24051.c b/libio/tst-bz24051.c
index f315525071..3649dbbdbd 100644
--- a/libio/tst-bz24051.c
+++ b/libio/tst-bz24051.c
@@ -19,7 +19,11 @@
/* Prevent putchar -> _IO_putc inline expansion. */
#define __NO_INLINE__
-#pragma GCC optimize("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
#include <stdio.h>
#include <string.h>
diff --git a/libio/tst-bz24153.c b/libio/tst-bz24153.c
index a069bf0695..9cfaa3b83c 100644
--- a/libio/tst-bz24153.c
+++ b/libio/tst-bz24153.c
@@ -18,7 +18,11 @@
/* Prevent getchar -> getc inline expansion. */
#define __NO_INLINE__
-#pragma GCC optimize ("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
#include <stdarg.h>
#include <stdio.h>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [glibc/azanella/clang] libio: Handle pragma GCC optimize for clang
@ 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=03086abce53d0f4dc22f502dd62091a8e6940410
commit 03086abce53d0f4dc22f502dd62091a8e6940410
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 24 16:17:59 2022 -0300
libio: Handle pragma GCC optimize for clang
Diff:
---
libio/tst-bz24051.c | 6 +++++-
libio/tst-bz24153.c | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/libio/tst-bz24051.c b/libio/tst-bz24051.c
index f315525071..3649dbbdbd 100644
--- a/libio/tst-bz24051.c
+++ b/libio/tst-bz24051.c
@@ -19,7 +19,11 @@
/* Prevent putchar -> _IO_putc inline expansion. */
#define __NO_INLINE__
-#pragma GCC optimize("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
#include <stdio.h>
#include <string.h>
diff --git a/libio/tst-bz24153.c b/libio/tst-bz24153.c
index a069bf0695..9cfaa3b83c 100644
--- a/libio/tst-bz24153.c
+++ b/libio/tst-bz24153.c
@@ -18,7 +18,11 @@
/* Prevent getchar -> getc inline expansion. */
#define __NO_INLINE__
-#pragma GCC optimize ("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
#include <stdarg.h>
#include <stdio.h>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [glibc/azanella/clang] libio: Handle pragma GCC optimize for clang
@ 2022-05-10 18:26 Adhemerval Zanella
0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-05-10 18:26 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1ae533718cd6b4d1b3a59eac87d64af3366e3333
commit 1ae533718cd6b4d1b3a59eac87d64af3366e3333
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 24 16:17:59 2022 -0300
libio: Handle pragma GCC optimize for clang
Diff:
---
libio/tst-bz24051.c | 6 +++++-
libio/tst-bz24153.c | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/libio/tst-bz24051.c b/libio/tst-bz24051.c
index f315525071..3649dbbdbd 100644
--- a/libio/tst-bz24051.c
+++ b/libio/tst-bz24051.c
@@ -19,7 +19,11 @@
/* Prevent putchar -> _IO_putc inline expansion. */
#define __NO_INLINE__
-#pragma GCC optimize("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
#include <stdio.h>
#include <string.h>
diff --git a/libio/tst-bz24153.c b/libio/tst-bz24153.c
index a069bf0695..9cfaa3b83c 100644
--- a/libio/tst-bz24153.c
+++ b/libio/tst-bz24153.c
@@ -18,7 +18,11 @@
/* Prevent getchar -> getc inline expansion. */
#define __NO_INLINE__
-#pragma GCC optimize ("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
#include <stdarg.h>
#include <stdio.h>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [glibc/azanella/clang] libio: Handle pragma GCC optimize for clang
@ 2022-04-29 14:06 Adhemerval Zanella
0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-04-29 14:06 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2e777063423eeeec5799d1da3b34935912029ec1
commit 2e777063423eeeec5799d1da3b34935912029ec1
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 24 16:17:59 2022 -0300
libio: Handle pragma GCC optimize for clang
Diff:
---
libio/tst-bz24051.c | 6 +++++-
libio/tst-bz24153.c | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/libio/tst-bz24051.c b/libio/tst-bz24051.c
index f315525071..3649dbbdbd 100644
--- a/libio/tst-bz24051.c
+++ b/libio/tst-bz24051.c
@@ -19,7 +19,11 @@
/* Prevent putchar -> _IO_putc inline expansion. */
#define __NO_INLINE__
-#pragma GCC optimize("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
#include <stdio.h>
#include <string.h>
diff --git a/libio/tst-bz24153.c b/libio/tst-bz24153.c
index a069bf0695..9cfaa3b83c 100644
--- a/libio/tst-bz24153.c
+++ b/libio/tst-bz24153.c
@@ -18,7 +18,11 @@
/* Prevent getchar -> getc inline expansion. */
#define __NO_INLINE__
-#pragma GCC optimize ("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
#include <stdarg.h>
#include <stdio.h>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [glibc/azanella/clang] libio: Handle pragma GCC optimize for clang
@ 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=0784e1512785278c9268054f00253d208b91b951
commit 0784e1512785278c9268054f00253d208b91b951
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 24 16:17:59 2022 -0300
libio: Handle pragma GCC optimize for clang
Diff:
---
libio/tst-bz24051.c | 6 +++++-
libio/tst-bz24153.c | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/libio/tst-bz24051.c b/libio/tst-bz24051.c
index f315525071..3649dbbdbd 100644
--- a/libio/tst-bz24051.c
+++ b/libio/tst-bz24051.c
@@ -19,7 +19,11 @@
/* Prevent putchar -> _IO_putc inline expansion. */
#define __NO_INLINE__
-#pragma GCC optimize("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
#include <stdio.h>
#include <string.h>
diff --git a/libio/tst-bz24153.c b/libio/tst-bz24153.c
index a069bf0695..9cfaa3b83c 100644
--- a/libio/tst-bz24153.c
+++ b/libio/tst-bz24153.c
@@ -18,7 +18,11 @@
/* Prevent getchar -> getc inline expansion. */
#define __NO_INLINE__
-#pragma GCC optimize ("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
#include <stdarg.h>
#include <stdio.h>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [glibc/azanella/clang] libio: Handle pragma GCC optimize for clang
@ 2022-03-29 20:32 Adhemerval Zanella
0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-03-29 20:32 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=fcfcfabf00065507baf8867304f2e197d8226f09
commit fcfcfabf00065507baf8867304f2e197d8226f09
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 24 16:17:59 2022 -0300
libio: Handle pragma GCC optimize for clang
Diff:
---
libio/tst-bz24051.c | 6 +++++-
libio/tst-bz24153.c | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/libio/tst-bz24051.c b/libio/tst-bz24051.c
index f315525071..3649dbbdbd 100644
--- a/libio/tst-bz24051.c
+++ b/libio/tst-bz24051.c
@@ -19,7 +19,11 @@
/* Prevent putchar -> _IO_putc inline expansion. */
#define __NO_INLINE__
-#pragma GCC optimize("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
#include <stdio.h>
#include <string.h>
diff --git a/libio/tst-bz24153.c b/libio/tst-bz24153.c
index a069bf0695..9cfaa3b83c 100644
--- a/libio/tst-bz24153.c
+++ b/libio/tst-bz24153.c
@@ -18,7 +18,11 @@
/* Prevent getchar -> getc inline expansion. */
#define __NO_INLINE__
-#pragma GCC optimize ("O0")
+#ifdef __clang__
+# pragma clang optimize off
+#else
+# pragma GCC optimize("O0")
+#endif
#include <stdarg.h>
#include <stdio.h>
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2022-06-09 21:22 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] libio: Handle pragma GCC optimize for clang Adhemerval Zanella
-- strict thread matches above, loose matches on Subject: below --
2022-06-09 21:22 Adhemerval Zanella
2022-06-09 13:19 Adhemerval Zanella
2022-06-03 14:08 Adhemerval Zanella
2022-05-13 14:22 Adhemerval Zanella
2022-05-12 19:36 Adhemerval Zanella
2022-05-10 18:26 Adhemerval Zanella
2022-04-29 14:06 Adhemerval Zanella
2022-04-04 12:57 Adhemerval Zanella
2022-03-29 20:32 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).