mirror of
https://github.com/kdlucas/byte-unixbench.git
synced 2026-08-04 03:03:29 +08:00
Prevent dhrystone Run_Index from being optimized away
This commit is contained in:
@@ -40,7 +40,7 @@ char SCCSid[] = "@(#) @(#)dhry_1.c:3.4 -- 5/15/91 19:30:21";
|
||||
#include "dhry.h"
|
||||
#include "timeit.c"
|
||||
|
||||
unsigned long Run_Index;
|
||||
volatile unsigned long Run_Index;
|
||||
|
||||
void report()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user