From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18963 invoked by alias); 2 Jun 2003 21:01:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 18916 invoked by uid 48); 2 Jun 2003 21:01:21 -0000 Date: Mon, 02 Jun 2003 21:01:00 -0000 Message-ID: <20030602210121.18915.qmail@sources.redhat.com> From: "dhazeghi@yahoo.com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030522014038.10922.rwgk@yahoo.com> References: <20030522014038.10922.rwgk@yahoo.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/10922] [Darwin] Internal error: Illegal instruction (program cc1plus) X-Bugzilla-Reason: CC X-SW-Source: 2003-06/txt/msg00400.txt.bz2 List-Id: 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 struct additional_instance_size { typedef instance instance_data; typedef instance instance_char; BOOST_STATIC_CONSTANT( std::size_t, value = sizeof(instance_data) - BOOST_PYTHON_OFFSETOF(instance_char,storage)); }; When preprocessed, it becomes: template struct additional_instance_size { typedef instance instance_data; typedef instance instance_char; static const std::size_t value = sizeof(instance_data) - (reinterpret_cast < size_t> (&reinterpret_cast (static_cast (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.