mirror of
https://github.com/kdlucas/byte-unixbench.git
synced 2024-12-11 23:30:07 +08:00
Merge pull request #37 from gstrauss/arith-volatile
arith: use volatile to attempt to thwart optimizer
This commit is contained in:
commit
379a68e4b1
@ -35,7 +35,7 @@ char SCCSid[] = "@(#) @(#)arith.c:3.3 -- 5/15/91 19:30:19";
|
||||
|
||||
int dumb_stuff(int);
|
||||
|
||||
unsigned long iter;
|
||||
volatile unsigned long iter;
|
||||
|
||||
/* this function is called when the alarm expires */
|
||||
void report()
|
||||
|
Loading…
Reference in New Issue
Block a user