From e0dbcf4afc46818effa792aee9d50f8881219d9e Mon Sep 17 00:00:00 2001 From: Aaron Culliney Date: Sat, 16 Aug 2014 11:25:07 -0700 Subject: [PATCH] Work around an apparent clang bug * tests were previously reported to fail with -O2 optimization --- src/test/testcpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/testcpu.c b/src/test/testcpu.c index 6f79c502..9691f9dd 100644 --- a/src/test/testcpu.c +++ b/src/test/testcpu.c @@ -1403,7 +1403,7 @@ TEST test_BPL(int8_t off, bool flag, uint16_t addrs) { PASS(); } -TEST test_BRA(int8_t off, bool flag, uint16_t addrs) { +TEST test_BRA(volatile int8_t off, volatile bool flag, volatile uint16_t addrs) { HEADER0(); cpu65_pc = addrs;