public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jakub at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/44071] ICE with asm goto and __builtin_unreachable()
Date: Tue, 11 May 2010 18:18:00 -0000	[thread overview]
Message-ID: <20100511181809.28088.qmail@sourceware.org> (raw)
In-Reply-To: <bug-44071-3556@http.gcc.gnu.org/bugzilla/>



------- Comment #11 from jakub at gcc dot gnu dot org  2010-05-11 18:18 -------
Subject: Bug 44071

Author: jakub
Date: Tue May 11 18:17:43 2010
New Revision: 159288

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159288
Log:
        PR middle-end/44071
        * cfglayout.c (fixup_reorder_chain): Allow asm goto to have
        no fallthru edge.
        * cfgcleanup.c (try_optimize_cfg): When in cfglayout mode
        optimizing away empty bb with no successors, move over its
        footer chain to fallthru predecessor.
        * cfgrtl.c (patch_jump_insn): Update also REG_LABEL_OPERAND.
        (rtl_split_edge): For asm goto call patch_jump_insn even if
        splitting fallthru edge.

        * c-c++-common/asmgoto-4.c: New test.
        * gcc.target/i386/pr44071.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/asmgoto-4.c
    trunk/gcc/testsuite/gcc.target/i386/pr44071.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgcleanup.c
    trunk/gcc/cfglayout.c
    trunk/gcc/cfgrtl.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


  parent reply	other threads:[~2010-05-11 18:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-11  5:38 [Bug c/44071] New: " hpa at zytor dot com
2010-05-11  5:39 ` [Bug c/44071] " hpa at zytor dot com
2010-05-11  6:32 ` ubizjak at gmail dot com
2010-05-11  6:45 ` ubizjak at gmail dot com
2010-05-11  8:43 ` rguenth at gcc dot gnu dot org
2010-05-11  8:57 ` ubizjak at gmail dot com
2010-05-11  9:00 ` jakub at gcc dot gnu dot org
2010-05-11 10:01 ` jakub at gcc dot gnu dot org
2010-05-11 10:18 ` [Bug middle-end/44071] " jakub at gcc dot gnu dot org
2010-05-11 10:20 ` jakub at gcc dot gnu dot org
2010-05-11 12:18 ` jakub at gcc dot gnu dot org
2010-05-11 16:15 ` [Bug c/44071] " hpa at zytor dot com
2010-05-11 16:51 ` [Bug middle-end/44071] " jakub at gcc dot gnu dot org
2010-05-11 18:18 ` jakub at gcc dot gnu dot org [this message]
2010-05-11 18:23 ` jakub at gcc dot gnu dot org
2010-05-11 18:26 ` jakub at gcc dot gnu dot org
     [not found] <bug-44071-4@http.gcc.gnu.org/bugzilla/>
2011-07-08 16:10 ` ramana at gcc dot gnu.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=20100511181809.28088.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).