On Sun, Jun 10, 2012 at 12:03:39AM -0500, Steve M. Robbins wrote: > Well, I spent some time looking at itkReadWriteSpatialObjectTest and > I've determined a few things. [...] > 2. It works when built using gcc 4.7 in RelWithDebInfo mode (flags -O2 -g). [...] > 4. It fails when built using gcc 4.7 with flags -O3 -g -DNDEBUG.
One further item. Of the three files that make up
ITKIOSpatialObjectsTestDriver, as long as this one
is built with -O2:
itkPolygonGroupSpatialObjectXMLFileTest.cxx.o
I can build the other two with -O3:
ITKIOSpatialObjectsTestDriver.cxx.o
itkReadWriteSpatialObjectTest.cxx.o
and the test completes successfully. This makes no sense to me
because itkPolygonGroupSpatialObjectXMLFileTest code is not even
executed when running the test in question ("ctest -R
itkReadWriteSpatialObjectTest").
-Steve
signature.asc
Description: Digital signature
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://www.itk.org/mailman/listinfo/insight-developers
