regressions/ck_epoch: Force generation of stack dereference in ck_epoch_synchronize.

ck_pring
Samy Al Bahra 13 years ago
parent 099f13a24d
commit ddfdda3649

@ -94,7 +94,7 @@ read_thread(void *unused CK_CC_UNUSED)
* irrelevant GCC warnings. It is volatile in order to prevent * irrelevant GCC warnings. It is volatile in order to prevent
* elimination. * elimination.
*/ */
volatile ck_stack_entry_t *n; volatile ck_stack_entry_t *n CK_CC_USED;
ck_epoch_register(&stack_epoch, &record); ck_epoch_register(&stack_epoch, &record);

Loading…
Cancel
Save