From cf649082c7d4723c4aedcc59e188c740642db2e3 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Wed, 1 Oct 2014 20:54:18 +0200
Subject: remove forced gcc optimization

It was added in 6d6bd8ba78434ecb09395582b5f3e41febd4d4ee,
but it is unclear for me, why this is needed or if it is
required. I don't think we should depend on some gcc
optimization, which might change in the future.
Anyway, this breaks c6x toolchain building (ICE), so I remove it.
Testsuite run for supported architectures didn't add any
new errors.
---
 libc/unistd/daemon.c | 1 -
 1 file changed, 1 deletion(-)

(limited to 'libc/unistd')

diff --git a/libc/unistd/daemon.c b/libc/unistd/daemon.c
index 435d4f1ff..8fa292850 100644
--- a/libc/unistd/daemon.c
+++ b/libc/unistd/daemon.c
@@ -69,7 +69,6 @@
 /* use clone() to get fork() like behavior here -- we just want to disassociate
  * from the controlling terminal
  */
-static inline attribute_optimize("O3")
 pid_t _fork_parent(void)
 {
 	INTERNAL_SYSCALL_DECL(err);
-- 
cgit v1.2.3