I build gcc from the actual snapshot gcc-4.0-20050116. When I compile boost_1_32_0 I get an ICE when I execute the self tests: Michael Cieslinski g++ -c -o bienstman1.o bienstman1.ii /home/cie019/boost/boost_1_32_0/boost/python/detail/destroy.hpp: In static member function 'static void boost::python::detail::value_destroyer<false>::execute(const volatile T*) [with T = V]': /home/cie019/boost/boost_1_32_0/boost/python/detail/destroy.hpp:90: instantiated from 'void boost::python::detail::destroy_referent_impl(void*, T& (*)()) [with T = const V]' /home/cie019/boost/boost_1_32_0/boost/python/detail/destroy.hpp:101: instantiated from 'void boost::python::detail::destroy_referent(void*, T (*)()) [with T = const V&]' /home/cie019/boost/boost_1_32_0/boost/python/converter/rvalue_from_python_data.h pp:135: instantiated from 'boost::python::converter::rvalue_from_python_data<T>::~rvalue_from_python_ data() [with T = const V&]' /home/cie019/boost/boost_1_32_0/boost/preprocessor/iteration/detail/local.hpp:34 : instantiated from 'PyObject* boost::python::detail::caller_arity<1u>::impl<F, Policies, Sig>::operator() (PyObject*, PyObject*) [with F = const A* (*)(const V&), Policies = boost::python::return_value_policy<boost::python::reference_existing_object, boost::python::default_call_policies>, Sig = boost::mpl::vector2<const A*, const V&>]' /home/cie019/boost/boost_1_32_0/boost/python/object/py_function.hpp:38: instantiated from 'PyObject* boost::python::objects::caller_py_function_impl<Caller>::operator()(PyObject*, PyObject*) [with Caller = boost::python::detail::caller<const A* (*)(const V&), boost::python::return_value_policy<boost::python::reference_existing_object, boost::python::default_call_policies>, boost::mpl::vector2<const A*, const V&> >]' ../../../libs/python/test/bienstman1.cpp:38: instantiated from here /home/cie019/boost/boost_1_32_0/boost/python/detail/destroy.hpp:33: internal compiler error: in create_tmp_var, at gimplify.c:368 Please submit a full bug report, with preprocessed source if appropriate. gcc -v Using built-in specs. Configured with: ../gcc40/configure --with-arch=opteron --enable- languages=c,c++ --enable-checking Thread model: posix gcc version 4.0.0 20050116 (experimental)
Created attachment 7992 [details] preprocessed source
I already reduced this, this is a dup of bug 19299. *** This bug has been marked as a duplicate of 19299 ***