This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/13769] [tree-ssa] sparc-sun-solaris2.9 bootstrap failure: ICE in extract_insn, at recog.c:2083
- From: "dhazeghi at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2004 06:18:17 -0000
- Subject: [Bug optimization/13769] [tree-ssa] sparc-sun-solaris2.9 bootstrap failure: ICE in extract_insn, at recog.c:2083
- References: <20040120125635.13769.gerald@pfeifer.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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