On Sat, Aug 22, 2009 at 10:58:23AM -0500, fvwm-workers wrote: > CVSROOT: /home/cvs/fvwm > Module name: fvwm > Changes by: tadam 09/08/22 10:58:23 > > Modified files: > . : ChangeLog > fvwm : geometry.c > > Log message: > Fix gcc -O3 bug when resizing aspect-ratio windows. > > Due to how the calculations are done in > geometry.c:__cs_handle_aspect_ratio(), the compiler optimizes the out > completely -- make the local variables to that function volatile to stop an > infinite loop in FVWM when resizing a window with aspect ratio, such as > Mplayer.
Which version of gcc is that? I had some trouble with gcc optimization recently in another project. There's probably an option to disable the offending optimization. Ciao Dominik ^_^ ^_^ -- Dominik Vogt