]> Git Repo - uclibc-ng.git/commitdiff
arm: workaround GCC PR target/53735 with fork()
authorBernhard Reutner-Fischer <[email protected]>
Tue, 8 Jan 2013 08:43:01 +0000 (09:43 +0100)
committerBernhard Reutner-Fischer <[email protected]>
Tue, 8 Jan 2013 08:43:01 +0000 (09:43 +0100)
Signed-off-by: Bernhard Reutner-Fischer <[email protected]>
libpthread/nptl/sysdeps/unix/sysv/linux/fork.c

index 78e272464687eb26acf2a1be6e0ebd6f6dd9af43..0db32d836e633ddd4be6645078d11c50b88c75fd 100644 (file)
@@ -58,6 +58,10 @@ fresetlockfiles (void)
 }
 
 pid_t
+#if defined __arm__ && defined __thumb__ && __GNUC_PREREQ (4,6) && !__GNUC_PREREQ (4,8)
+/* GCC PR target/53735 */
+attribute_optimize("O2")
+#endif
 fork (void)
 {
   pid_t pid;
This page took 0.030172 seconds and 4 git commands to generate.