[Bug target/10922] [Darwin] Internal error: Illegal instruction (program cc1plus)
dhazeghi@yahoo.com
gcc-bugzilla@gcc.gnu.org
Mon Jun 2 21:01:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10922
------- Additional Comments From dhazeghi@yahoo.com 2003-06-02 21:01 -------
Hello,
with g++ 3.4, here's the line that yields the first error:
template <class Data>
struct additional_instance_size
{
typedef instance<Data> instance_data;
typedef instance<char> instance_char;
BOOST_STATIC_CONSTANT(
std::size_t, value = sizeof(instance_data)
- BOOST_PYTHON_OFFSETOF(instance_char,storage));
};
When preprocessed, it becomes:
template <class Data>
struct additional_instance_size
{
typedef instance<Data> instance_data;
typedef instance<char> instance_char;
static const std::size_t value = sizeof(instance_data) - (reinterpret_cast <
size_t> (&reinterpret_cast <char &>(static_cast <instance_char *> (0)->storage))
);
Preprocessed output is attached to this...
Thanks,
Dara
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Gcc-bugs
mailing list