raeburn@ATHENA.MIT.EDU (Ken Raeburn) (02/15/89)
GCC moves outside the loop the references to the variable "xyzzy" in
the following file:
extern save_address_of_flag (volatile int *);
void foo ( volatile int xyzzy) {
save_address_of_flag (&xyzzy);
while (xyzzy & 1)
;
}
If "xyzzy" is made an automatic variable, the problem goes away.
-- Ken