Index: tests/exception_test/exception_test.c |
diff --git a/tests/exception_test/exception_test.c b/tests/exception_test/exception_test.c |
index 7c56582204fd857ce0c65a515db46785c4d8ce01..310593ad2e198ff1fd2ddbcb52178687ddbf7aef 100644 |
--- a/tests/exception_test/exception_test.c |
+++ b/tests/exception_test/exception_test.c |
@@ -63,7 +63,11 @@ struct AlignedType { |
*/ |
__attribute__((noinline)) |
void check_pointer_is_aligned(void *pointer) { |
+#if defined(__mips__) |
+ assert((uintptr_t) pointer % 8 == 0); |
Mark Seaborn
2013/02/13 22:14:09
But we declared it with __attribute__((aligned(16)
petarj
2013/03/05 17:50:04
attribute aligned does not work for variables on s
Mark Seaborn
2013/03/14 15:48:00
Answering your earlier question...
On 2013/03/05
|
+#else |
assert((uintptr_t) pointer % 16 == 0); |
+#endif |
} |
void check_stack_is_aligned(void) { |