public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] report supported function classes correctly on *-musl
@ 2016-07-20 13:40 Szabolcs Nagy
  2016-08-24 17:20 ` Szabolcs Nagy
  2016-08-29  9:29 ` Bernd Schmidt
  0 siblings, 2 replies; 3+ messages in thread
From: Szabolcs Nagy @ 2016-07-20 13:40 UTC (permalink / raw)
  To: gcc-patches; +Cc: nd, Rich Felker

[-- Attachment #1: Type: text/plain, Size: 368 bytes --]

All function classes listed in gcc/coretypes.h are supported by musl.

Most of the optimizations based on these function classes are not
relevant for standard conform c code, but this is required to get
rid of some test system noise.

gcc/
2016-07-20  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* config/linux.c (linux_libc_has_function): Return true on musl.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0002-linux_libc_has_function.patch --]
[-- Type: text/x-patch; name=0002-linux_libc_has_function.patch, Size: 704 bytes --]

From 294b908f9a7577bcfe8036a601262ca0bc7c2ca2 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Fri, 6 Nov 2015 23:59:20 +0000
Subject: [PATCH 2/7] linux_libc_has_function

---
 gcc/config/linux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/linux.c b/gcc/config/linux.c
index 2081e34..37515bf 100644
--- a/gcc/config/linux.c
+++ b/gcc/config/linux.c
@@ -26,7 +26,7 @@ along with GCC; see the file COPYING3.  If not see
 bool
 linux_libc_has_function (enum function_class fn_class)
 {
-  if (OPTION_GLIBC)
+  if (OPTION_GLIBC || OPTION_MUSL)
     return true;
   if (OPTION_BIONIC)
     if (fn_class == function_c94
-- 
2.4.1


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

* Re: [PATCH] report supported function classes correctly on *-musl
  2016-07-20 13:40 [PATCH] report supported function classes correctly on *-musl Szabolcs Nagy
@ 2016-08-24 17:20 ` Szabolcs Nagy
  2016-08-29  9:29 ` Bernd Schmidt
  1 sibling, 0 replies; 3+ messages in thread
From: Szabolcs Nagy @ 2016-08-24 17:20 UTC (permalink / raw)
  To: gcc-patches; +Cc: nd, Rich Felker

On 20/07/16 14:39, Szabolcs Nagy wrote:
> All function classes listed in gcc/coretypes.h are supported by musl.
> 
> Most of the optimizations based on these function classes are not
> relevant for standard conform c code, but this is required to get
> rid of some test system noise.
> 
> gcc/
> 2016-07-20  Szabolcs Nagy  <szabolcs.nagy@arm.com>
> 
> 	* config/linux.c (linux_libc_has_function): Return true on musl.
> 

ping

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

* Re: [PATCH] report supported function classes correctly on *-musl
  2016-07-20 13:40 [PATCH] report supported function classes correctly on *-musl Szabolcs Nagy
  2016-08-24 17:20 ` Szabolcs Nagy
@ 2016-08-29  9:29 ` Bernd Schmidt
  1 sibling, 0 replies; 3+ messages in thread
From: Bernd Schmidt @ 2016-08-29  9:29 UTC (permalink / raw)
  To: Szabolcs Nagy, gcc-patches; +Cc: nd, Rich Felker

On 07/20/2016 03:39 PM, Szabolcs Nagy wrote:
> All function classes listed in gcc/coretypes.h are supported by musl.
>
> Most of the optimizations based on these function classes are not
> relevant for standard conform c code, but this is required to get
> rid of some test system noise.
>
> gcc/
> 2016-07-20  Szabolcs Nagy  <szabolcs.nagy@arm.com>
>
> 	* config/linux.c (linux_libc_has_function): Return true on musl.

Also ok I guess.


Bernd

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

end of thread, other threads:[~2016-08-29  9:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-20 13:40 [PATCH] report supported function classes correctly on *-musl Szabolcs Nagy
2016-08-24 17:20 ` Szabolcs Nagy
2016-08-29  9:29 ` Bernd Schmidt

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).