This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12573] [3.4 Regression ] ICE (segfault) with Boost.Python
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Oct 2003 02:33:33 -0000
- Subject: [Bug c++/12573] [3.4 Regression ] ICE (segfault) with Boost.Python
- References: <20031011014942.12573.jbrandmeyer@users.sourceforge.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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;
};
}}}