This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/10922] [Darwin] Internal error: Illegal instruction (program cc1plus)
- From: "dhazeghi at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2003 21:01:21 -0000
- Subject: [Bug target/10922] [Darwin] Internal error: Illegal instruction (program cc1plus)
- References: <20030522014038.10922.rwgk@yahoo.com>
- 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=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.