public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dhazeghi at yahoo dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug optimization/13769] [tree-ssa] sparc-sun-solaris2.9 bootstrap failure: ICE in extract_insn, at recog.c:2083
Date: Wed, 21 Jan 2004 06:18:00 -0000	[thread overview]
Message-ID: <20040121061817.20515.qmail@sources.redhat.com> (raw)
In-Reply-To: <20040120125635.13769.gerald@pfeifer.com>


------- 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


  parent reply	other threads:[~2004-01-21  6:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-20 12:56 [Bug bootstrap/13769] New: " gerald at pfeifer dot com
2004-01-20 15:31 ` [Bug optimization/13769] " pinskia at gcc dot gnu dot org
2004-01-20 16:11 ` pinskia at gcc dot gnu dot org
2004-01-21  6:18 ` dhazeghi at yahoo dot com [this message]
2004-01-21  7:18 ` dhazeghi at yahoo dot com
2004-01-21  7:23 ` pinskia at gcc dot gnu dot org
2004-04-03 15:58 ` [Bug middle-end/13769] [tree-ssa] bootstrap failure: ICE in extract_insn pinskia at gcc dot gnu dot org
2004-04-06  9:58 ` ehrhardt at mathematik dot uni-ulm dot de

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040121061817.20515.qmail@sources.redhat.com \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).