public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/17078] [3.4 regression] Jump into if(0)-substatement fails
Date: Sun, 22 Aug 2004 23:50:00 -0000	[thread overview]
Message-ID: <20040822235022.17613.qmail@sourceware.org> (raw)
In-Reply-To: <20040818110543.17078.paul.woegerer@nsc.com>


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-08-22 23:50 -------
Roger, this looks to be a bug in expand_unreachable_stmt.

In particular, it looks like the return statement is never expanded because it
is considered unreachable due to the earlier goto.  However, since the
then-clause of the if-statment falls off the bottom, the return-statement
becomes reachable again.  Here, expand_unreachable_if_stmt should be returning
true, but instead returns false.

I've assigned this bug to you.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roger at eyesopen dot com
         AssignedTo|unassigned at gcc dot gnu   |roger at eyesopen dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


  parent reply	other threads:[~2004-08-22 23:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-18 11:05 [Bug rtl-optimization/17078] New: " paul dot woegerer at nsc dot com
2004-08-18 12:00 ` [Bug rtl-optimization/17078] " reichelt at gcc dot gnu dot org
2004-08-19  7:27 ` [Bug rtl-optimization/17078] [3.4 regression] " paul dot woegerer at nsc dot com
2004-08-19  7:54 ` paul dot woegerer at nsc dot com
2004-08-19 10:21 ` reichelt at gcc dot gnu dot org
2004-08-22 23:50 ` mmitchel at gcc dot gnu dot org [this message]
2004-08-24  4:03 ` cvs-commit at gcc dot gnu dot org
2004-08-24  4:09 ` pinskia at gcc dot gnu dot org
2004-08-24  4:23 ` 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=20040822235022.17613.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).