public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/40323] [4.5 Regression] compiling just takes forever and doesn't really process
Date: Tue, 02 Jun 2009 10:45:00 -0000	[thread overview]
Message-ID: <20090602104524.17609.qmail@sourceware.org> (raw)
In-Reply-To: <bug-40323-17447@http.gcc.gnu.org/bugzilla/>



------- Comment #5 from rguenth at gcc dot gnu dot org  2009-06-02 10:45 -------
Works fine with rev. 147285, fails with rev. 147953.

Martin - obviously

static inline tree
get_ssa_def_if_simple_copy (tree rhs)
{
  while (TREE_CODE (rhs) == SSA_NAME && !SSA_NAME_IS_DEFAULT_DEF (rhs))
    {
      gimple def_stmt = SSA_NAME_DEF_STMT (rhs);

      if (gimple_assign_single_p (def_stmt))
        rhs = gimple_assign_rhs1 (def_stmt);
    }
  return rhs;
}

doesn't terminate if the condition inside the loop is false.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mjambor at suse dot cz
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Priority|P3                          |P1
   Last reconfirmed|0000-00-00 00:00:00         |2009-06-02 10:45:24
               date|                            |


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


  parent reply	other threads:[~2009-06-02 10:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-01 18:31 [Bug c++/40323] New: " ich at az2000 dot de
2009-06-01 18:32 ` [Bug c++/40323] " ich at az2000 dot de
2009-06-01 18:35 ` ich at az2000 dot de
2009-06-01 18:36 ` ich at az2000 dot de
2009-06-01 21:36 ` [Bug tree-optimization/40323] " ich at az2000 dot de
2009-06-02 10:14 ` [Bug tree-optimization/40323] [4.5 Regression] " rguenth at gcc dot gnu dot org
2009-06-02 10:45 ` rguenth at gcc dot gnu dot org [this message]
2009-06-02 10:51 ` jamborm at gcc dot gnu dot org
2009-06-02 17:06 ` jamborm at gcc dot gnu dot org
2009-06-03 11:56 ` jamborm at gcc dot gnu dot org
2009-06-03 12:54 ` jamborm at gcc dot gnu dot org
2009-06-03 15:00 ` ich at az2000 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=20090602104524.17609.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).