public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bonzini at gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/38572] [4.4 Regression] ICE in set_value_range, at tree-vrp.c:398
Date: Mon, 22 Dec 2008 08:54:00 -0000	[thread overview]
Message-ID: <20081222085241.31609.qmail@sourceware.org> (raw)
In-Reply-To: <bug-38572-5606@http.gcc.gnu.org/bugzilla/>



------- Comment #19 from bonzini at gnu dot org  2008-12-22 08:52 -------
Smaller testcase, without uninitialized variables too:

enum JSOp
{
  JSOP_GETELEM = 5,
  JSOP_LIMIT
};
extern void g ();
void
f (char *pc, char *endpc, int format, char ***fp, enum JSOp op)
{
  while (pc <= endpc)
    {
      if ((fp && *fp && pc == **fp) || pc == endpc)
        {
          if (format == 1)
            op = (JSOp) 256;
          else if (format == 2)
            op = (JSOp) 257;
          else
            op = JSOP_GETELEM;
        }
      if (op >= JSOP_LIMIT)
        {
          if (format)
            g ();
        }
    }
}


-- 


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


  parent reply	other threads:[~2008-12-22  8:54 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-18 19:27 [Bug middle-end/38572] New: " bero at arklinux dot org
2008-12-18 19:28 ` [Bug middle-end/38572] " bero at arklinux dot org
2008-12-18 19:49 ` hjl dot tools at gmail dot com
2008-12-18 19:50 ` hjl dot tools at gmail dot com
2008-12-18 20:10 ` bero at arklinux dot org
2008-12-18 20:12 ` bero at arklinux dot org
2008-12-18 20:19 ` pinskia at gcc dot gnu dot org
2008-12-18 20:22 ` hjl dot tools at gmail dot com
2008-12-18 20:24 ` pinskia at gcc dot gnu dot org
2008-12-18 20:26 ` pinskia at gcc dot gnu dot org
2008-12-18 23:22 ` pinskia at gcc dot gnu dot org
2008-12-18 23:23 ` hjl dot tools at gmail dot com
2008-12-18 23:24 ` pinskia at gcc dot gnu dot org
2008-12-18 23:27 ` hjl dot tools at gmail dot com
2008-12-18 23:29 ` hjl dot tools at gmail dot com
2008-12-19  1:20 ` pinskia at gcc dot gnu dot org
2008-12-19  1:42 ` hjl dot tools at gmail dot com
2008-12-19  1:50 ` pinskia at gcc dot gnu dot org
2008-12-19  6:08 ` bonzini at gnu dot org
2008-12-22  8:54 ` bonzini at gnu dot org [this message]
2008-12-22  9:06 ` bonzini at gnu dot org
2008-12-22  9:31 ` bonzini at gnu dot org
2008-12-30 10:39 ` bonzini at gcc dot gnu dot org
2008-12-30 10:39 ` bonzini at gnu dot org
2008-12-30 10:42 ` bonzini at gnu dot org
2009-01-22  5:06 ` regehr at cs dot utah dot edu
2009-01-22  8:08 ` bonzini at 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=20081222085241.31609.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).