This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/12573] [3.4 Regression ] ICE (segfault) with Boost.Python


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12573


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-10-11 02:33:33
               date|                            |


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-11 02:33 -------
Here it is down to 27 lines:
namespace boost{

template <bool x> struct STATIC_ASSERTION_FAILURE;

template <> struct STATIC_ASSERTION_FAILURE<true> { enum { value = 1 }; };

template<int x> struct static_assert_test{};

}
typedef unsigned int size_t;
namespace std{using ::size_t;}

namespace boost { namespace python { namespace converter {
struct rvalue_from_python_stage1_data
{
    void* convertible;
};

template <class T>
struct rvalue_from_python_storage
{
    rvalue_from_python_stage1_data stage1;
};
template <class T>
struct rvalue_from_python_data
{
    typedef ::boost::static_assert_test< sizeof(::boost::STATIC_ASSERTION_FAILURE< (bool)( 
(reinterpret_cast <size_t> (&static_cast<rvalue_from_python_storage<T> *> (0)->stage1)) == 0 ) 
>)> boost_static_assert_typedef_100;
};

}}}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]