Module Name: src
Committed By: mrg
Date: Thu Nov 21 21:45:35 UTC 2019
Modified Files:
src/sys/lib/libsa: ustarfs.c
Log Message:
apply the strncmp hack only to !clang. requested by tnn.
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/lib/libsa/ustarfs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/lib/libsa/ustarfs.c
diff -u src/sys/lib/libsa/ustarfs.c:1.36 src/sys/lib/libsa/ustarfs.c:1.37
--- src/sys/lib/libsa/ustarfs.c:1.36 Thu Nov 21 07:34:39 2019
+++ src/sys/lib/libsa/ustarfs.c Thu Nov 21 21:45:34 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: ustarfs.c,v 1.36 2019/11/21 07:34:39 mrg Exp $ */
+/* $NetBSD: ustarfs.c,v 1.37 2019/11/21 21:45:34 mrg Exp $ */
/* [Notice revision 2.2]
* Copyright (c) 1997, 1998 Avalon Computer Systems, Inc.
@@ -388,7 +388,7 @@ init_volzero_sig(struct open_file *f)
* Until the real cause is located, work around it by using -O1
* for this function.
*/
-#ifdef __i386__
+#if defined(__i386__) && !defined(__clang__)
__attribute__((__optimize__("O1")))
#endif
__compactcall int