public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "steven at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/13767] [tree-ssa] ICE in verify_flow_info
Date: Tue, 20 Jan 2004 11:11:00 -0000	[thread overview]
Message-ID: <20040120111151.23799.qmail@sources.redhat.com> (raw)
In-Reply-To: <20040120105417.13767.steven@gcc.gnu.org>


------- Additional Comments From steven at gcc dot gnu dot org  2004-01-20 11:11 -------
Another example of why GOTO's in the CFG suck ;-) 
The GOTO to L1 is redundant but it's not killed because it 
jumps to a nonlocal label. 
 
(gdb) p debug_tree_cfg (0) 
main () 
{ 
  static  t; 
  void L1 = <<< error >>>; 
  int c.1; 
 
  # BLOCK 0 
  # PRED: ENTRY (fallthru) 
  c.1 = c; 
  if (c.1 == 0) goto <L0>; else goto <L1>; 
  # SUCC: 2 (false) 1 (true) 
 
  # BLOCK 1 
  # PRED: 0 (true) 
<L0>:; 
  goto L1; 
  # SUCC: 2 (fallthru) 
 
  # BLOCK 2 
  # PRED: 1 (fallthru) 0 (false) 
<L1>:; 
  t (); 
  # SUCC: 3 (fallthru) 4 (ab) 
 
  # BLOCK 3 
  # PRED: 2 (fallthru) 
  abort (); 
  # SUCC: 4 (ab) 
 
  # BLOCK 4 
  # PRED: ENTRY (ab) 3 (ab) 2 (ab) 
L1:; 
  return 0; 
  # SUCC: EXIT 
} 
 

-- 


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


  reply	other threads:[~2004-01-20 11:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-20 10:54 [Bug middle-end/13767] New: " steven at gcc dot gnu dot org
2004-01-20 11:11 ` steven at gcc dot gnu dot org [this message]
2004-01-20 11:21 ` [Bug middle-end/13767] " steven at gcc dot gnu dot org
2004-01-20 15:28 ` [Bug optimization/13767] " pinskia at gcc dot gnu dot org
2004-01-20 15:30 ` steven at gcc dot gnu dot org
2004-01-21 21:36 ` rth at gcc dot gnu dot org
2004-01-23  1:14 ` rth at gcc dot gnu dot org
2004-01-23  1:14 ` cvs-commit at gcc dot gnu 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=20040120111151.23799.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).