gettimeofday seconds rollover problem?

Ian Caddy ianc at
Thu Mar 2 01:31:30 UTC 2006

Joel Sherrill wrote:
> It looks like it only got committed to the trunk.  It also needs to be 
> on the 4.6 branch.
> Does gcc 3.2 exhibit the movement behavior?

I can confirm that gcc 3.2.3 does exhibit the movement behaviour.

I can also confirm that adding the memory barriers fixes the problem, at 
least in our applications on the Coldfire.


Ian Caddy

Ian Caddy
Goanna Technologies Pty Ltd
+61 8 9221 1860

More information about the users mailing list