Merge pull request #37 from gstrauss/arith-volatile

arith: use volatile to attempt to thwart optimizer
This commit is contained in:
Kelly Lucas 2016-09-17 17:20:19 -07:00 committed by GitHub
commit 379a68e4b1

View File

@ -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()