From ddfdda36493cf364a3edc744d345a104cc0dda45 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Mon, 17 Sep 2012 16:10:25 -0400 Subject: [PATCH] regressions/ck_epoch: Force generation of stack dereference in ck_epoch_synchronize. --- regressions/ck_epoch/validate/ck_epoch_synchronize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regressions/ck_epoch/validate/ck_epoch_synchronize.c b/regressions/ck_epoch/validate/ck_epoch_synchronize.c index e4aea66..464f2a4 100644 --- a/regressions/ck_epoch/validate/ck_epoch_synchronize.c +++ b/regressions/ck_epoch/validate/ck_epoch_synchronize.c @@ -94,7 +94,7 @@ read_thread(void *unused CK_CC_UNUSED) * irrelevant GCC warnings. It is volatile in order to prevent * elimination. */ - volatile ck_stack_entry_t *n; + volatile ck_stack_entry_t *n CK_CC_USED; ck_epoch_register(&stack_epoch, &record);