public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug objc/23381] [4.1 Regression] Next runtime objc exceptions are broken
Date: Sat, 13 Aug 2005 22:46:00 -0000	[thread overview]
Message-ID: <20050813224652.13763.qmail@sourceware.org> (raw)
In-Reply-To: <20050813223304.23381.pinskia@gcc.gnu.org>


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-13 22:46 -------
This looks like a gimplifier bug.
In .orginal:
        if (objc_exception_try_enter (&D.2385);
        _setjmp ((void *) &D.2385.buf) != 0;)
          {
            {
              struct objc_object * D.2383;

              D.2383 = objc_exception_extract (&D.2385);
              if (objc_exception_try_enter (&D.2385);
              _setjmp ((void *) &D.2385.buf) != 0;)
                {
                  D.2386 = objc_exception_extract (&D.2385);
                }
              else
                {
                  {
                    struct objc_object * exc;

                    exc = D.2383;
                    made_catch++ ;
                    OBJ_TYPE_REF(objc_msgSend;SAVE_EXPR <exc>->0) (SAVE_EXPR <exc>, 
_OBJC_SELECTOR_REFERENCES_1);
                  }
                }
            }
          }
        else
          {
            thrower ();


in .gimple:
        objc_exception_try_enter (&D.2385);
        D.2387 = _setjmp (&D.2385.buf);
        if (D.2387 == 0)
          {
            thrower ();

Someone should test 4.0.x also.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.1.0
   Target Milestone|---                         |4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23381


  reply	other threads:[~2005-08-13 22:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-13 22:33 [Bug objc/23381] New: " pinskia at gcc dot gnu dot org
2005-08-13 22:46 ` pinskia at gcc dot gnu dot org [this message]
2005-08-13 23:37 ` [Bug objc/23381] " pinskia at gcc dot gnu dot org
2005-08-14  2:04 ` pinskia at gcc dot gnu dot org
2005-08-14 19:00 ` pinskia at gcc dot gnu dot org
2005-08-17  2:48 ` pinskia at gcc dot gnu dot org
2005-08-31  0:01 ` [Bug middle-end/23381] " pinskia at gcc dot gnu dot org
2005-08-31  0:10 ` pinskia at gcc dot gnu dot org
2005-08-31  3:35 ` pinskia at gcc dot gnu dot org
2005-08-31  4:48 ` [Bug objc/23381] " pinskia at gcc dot gnu dot org
2005-08-31  4:48 ` pinskia at gcc dot gnu dot org
2005-08-31  4:55 ` cvs-commit at gcc dot gnu dot org
2005-10-01  0:13 ` cvs-commit at developer dot classpath dot org

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=20050813224652.13763.qmail@sourceware.org \
    --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).