On Thu, 6 Mar 2003, Geoff Hutchison wrote: > Does the bug surface if you disable optimization when compiling "-O0" ? Hi! It seems to be independent of optimization. I also tried to make simple example programs with the same class structure as gnome_docv and gnome_project has, but they seem to work fine. Then I added to CVS a new test/example program libghemical/src/simple_test (the test program opens a file and runs geometry optimization for it). There I added some dynamic_cast statements, but they also worked fine. Hummm, this really is a difficult one. It seems that the bug haunts only those two above mentioned classes. It is strange, since they are in fact quite different in the old (v1.00) and new (v1.50) source trees (in the old system there are virtual base classes but none in the new one). The problem is very specific, which makes the compiler look "less guilty". Well, I guess now I set this problem (as well as myself) in rest over the weekend, and then see if something new appears... :) Regards, Tommi