From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20546 invoked by alias); 21 Jan 2004 06:18:19 -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 20516 invoked by uid 48); 21 Jan 2004 06:18:17 -0000 Date: Wed, 21 Jan 2004 06:18:00 -0000 Message-ID: <20040121061817.20515.qmail@sources.redhat.com> From: "dhazeghi at yahoo dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040120125635.13769.gerald@pfeifer.com> References: <20040120125635.13769.gerald@pfeifer.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug optimization/13769] [tree-ssa] sparc-sun-solaris2.9 bootstrap failure: ICE in extract_insn, at recog.c:2083 X-Bugzilla-Reason: CC X-SW-Source: 2004-01/txt/msg02533.txt.bz2 List-Id: ------- Additional Comments From dhazeghi at yahoo dot com 2004-01-21 06:18 ------- Confirmed with current sources. Here's a mostly reduced testcase. Looks like something nasty between __inline__ and __builtin_extract_return_addr. Dies with -O or higher. typedef unsigned _Unwind_Word __attribute__((__mode__(__word__))); typedef unsigned _Unwind_Ptr __attribute__((__mode__(__pointer__))); struct _Unwind_Context { void *ra; }; __inline__ _Unwind_Word _Unwind_GetGR (struct _Unwind_Context *context, int index) { int size; void *ptr; if (size == 1) return * (_Unwind_Ptr *) ptr; abort (); } __inline__ void * _Unwind_GetPtr (struct _Unwind_Context *context, int index) { return (void *)(_Unwind_Ptr) _Unwind_GetGR (context, index); } void uw_update_context (struct _Unwind_Context *context) { context->ra =__builtin_extract_return_addr (_Unwind_GetPtr (context, 2)); } -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2004-01-21 06:18:16 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13769