Tested with Matthias' gcc-4.5 (4.5.1-10ubuntu3): when compiling with "-O2" seg fault no longer observed.
Tested with Matthias' gcc-4.5 (4.5.1-10ubuntu3): when compiling with "-O2" seg fault no longer observed.