Skip to content

Commit 9c426e5

Browse files
committed
stress-opcode: fix CLOBBERED for ops_ptr for older gcc flavours
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
1 parent 388db7e commit 9c426e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stress-opcode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ static int stress_opcode(stress_args_t *args)
525525
const size_t ops_size = page_size * PAGES;
526526
void *ops_begin = (void *)((uint8_t *)opcodes + page_size);
527527
void *ops_end = (void *)((uint8_t *)ops_begin + ops_size);
528-
CLOBBERED void *ops_ptr;
528+
void * CLOBBERED ops_ptr;
529529

530530
stress_proc_state_set(args->name, STRESS_STATE_RUN);
531531
stress_make_it_fail_set();

0 commit comments

Comments
 (0)