38 lines
1.0 KiB
Diff
38 lines
1.0 KiB
Diff
Removed buggy test for GCC 81740 bug.
|
|
|
|
Signed-off-by: "Michel Stempin" <michel.stempin@wanadoo.fr>
|
|
---
|
|
tests.cpp | 6 +++++-
|
|
1 file changed, 5 insertions(+), 1 deletion(-)
|
|
|
|
--- mednafen-0.9.48.orig/src/tests.cpp
|
|
+++ mednafen-0.9.48/src/tests.cpp
|
|
@@ -766,6 +766,8 @@ void NO_INLINE NO_CLONE TestGCC80631(voi
|
|
assert(TestGCC80631_Sub(p) == 0);
|
|
}
|
|
|
|
+// See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82750
|
|
+#ifdef BUGGY_TEST_GCC81740
|
|
NO_INLINE NO_CLONE void TestGCC81740_Sub(int* p, unsigned count)
|
|
{
|
|
static const int good[20] = { 0, 1, 2, 3, 4, 5, 0, 1, 2, 3, 10, 5, 6, 7, 8, 15, 10, 11, 12, 13 };
|
|
@@ -791,7 +793,7 @@ NO_INLINE NO_CLONE void TestGCC81740(voi
|
|
|
|
TestGCC81740_Sub(&v[0][0], sizeof(v) / sizeof(int));
|
|
}
|
|
-
|
|
+#endif
|
|
|
|
template<typename A, typename B>
|
|
void NO_INLINE NO_CLONE TestSUCompare_Sub(A a, B b)
|
|
@@ -2045,7 +2047,9 @@ bool MDFN_RunMathTests(void)
|
|
TestGCC70941();
|
|
TestGCC71488();
|
|
TestGCC80631();
|
|
+#ifdef BUGGY_TEST_GCC81740
|
|
TestGCC81740();
|
|
+#endif
|
|
|
|
TestModTern();
|
|
TestBWNotMask31GTZ();
|