From 371e8efb7966268dbb86668f15813a36dd26d32e Mon Sep 17 00:00:00 2001 From: IrgendwerA8 Date: Tue, 7 Mar 2017 19:16:31 +0100 Subject: [PATCH] temporarily disable optimizations altogether until a fine grain control is implemented on Makefile level only disabling the compiler option -Os --- test/val/lib_common_memmove.c | 4 ++++ test/val/lib_common_strcat.c | 4 ++++ test/val/lib_common_strcspn.c | 4 ++++ test/val/lib_common_strncat.c | 4 ++++ test/val/lib_common_strspn.c | 4 ++++ 5 files changed, 20 insertions(+) diff --git a/test/val/lib_common_memmove.c b/test/val/lib_common_memmove.c index dd5801569..6c04e1951 100644 --- a/test/val/lib_common_memmove.c +++ b/test/val/lib_common_memmove.c @@ -1,3 +1,7 @@ +// temporarily disable optimizations altogether until a fine grain control +// is implemented on Makefile level only disabling the compiler option -Os +#pragma optimize (off) + #include #include "unittest.h" diff --git a/test/val/lib_common_strcat.c b/test/val/lib_common_strcat.c index 1872053a4..6389d5651 100644 --- a/test/val/lib_common_strcat.c +++ b/test/val/lib_common_strcat.c @@ -1,3 +1,7 @@ +// temporarily disable optimizations altogether until a fine grain control +// is implemented on Makefile level only disabling the compiler option -Os +#pragma optimize (off) + #include #include "unittest.h" diff --git a/test/val/lib_common_strcspn.c b/test/val/lib_common_strcspn.c index 10935a78e..06838c435 100644 --- a/test/val/lib_common_strcspn.c +++ b/test/val/lib_common_strcspn.c @@ -1,3 +1,7 @@ +// temporarily disable optimizations altogether until a fine grain control +// is implemented on Makefile level only disabling the compiler option -Os +#pragma optimize (off) + #include #include "unittest.h" diff --git a/test/val/lib_common_strncat.c b/test/val/lib_common_strncat.c index dd6df9147..84d904fa0 100644 --- a/test/val/lib_common_strncat.c +++ b/test/val/lib_common_strncat.c @@ -1,3 +1,7 @@ +// temporarily disable optimizations altogether until a fine grain control +// is implemented on Makefile level only disabling the compiler option -Os +#pragma optimize (off) + #include #include "unittest.h" diff --git a/test/val/lib_common_strspn.c b/test/val/lib_common_strspn.c index 96a006469..693a1136a 100644 --- a/test/val/lib_common_strspn.c +++ b/test/val/lib_common_strspn.c @@ -1,3 +1,7 @@ +// temporarily disable optimizations altogether until a fine grain control +// is implemented on Makefile level only disabling the compiler option -Os +#pragma optimize (off) + #include #include "unittest.h" -- 2.39.5