public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/29446] [4.2 Regression] VRP ICE in compare_names
Date: Fri, 13 Oct 2006 03:34:00 -0000	[thread overview]
Message-ID: <20061013033443.15611.qmail@sourceware.org> (raw)
In-Reply-To: <bug-29446-10110@http.gcc.gnu.org/bugzilla/>



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-10-13 03:34 -------
here is a shorter testcase:
void f(void)
{
  int i, ubound1, j, ubound5;
  int (*abc)[3];
  i = 1;
  while (1)
    {
       if (j <= 3)
         while (1)
           {
              _Bool D917;
              if (i != j)
                {
                  if (__builtin_expect (ubound1 <= 0, 0))
                    __builtin_abort ();
                  (*abc)[1] = 0;
                }
               else
                 {
                    int D916;
                    D916 = j;
                    if (__builtin_expect (D916 > ubound1, 0))
                      __builtin_abort ();
                    if (__builtin_expect (ubound5 <= 0, 0))
                      __builtin_abort ();
                  }
               j = j + 1;
               if (D917)
                 break;
           }
    i = i + 1;
  }
}


-- 


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


  parent reply	other threads:[~2006-10-13  3:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-12 22:37 [Bug fortran/29446] New: " kargl at gcc dot gnu dot org
2006-10-13  3:19 ` [Bug tree-optimization/29446] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-10-13  3:34 ` pinskia at gcc dot gnu dot org [this message]
2006-10-13  8:22 ` rguenth at gcc dot gnu dot org
2006-10-13  9:19 ` rguenth at gcc dot gnu dot org
2006-10-13 10:07 ` rguenth at gcc dot gnu dot org
2006-10-13 10:39 ` rguenth at gcc dot gnu dot org
2006-10-13 12:45 ` patchapp at dberlin dot org
2006-10-13 20:09 ` rguenth at gcc dot gnu dot org
2006-10-13 20:09 ` rguenth at gcc dot gnu dot org
2007-04-25 16:10 ` rguenth 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=20061013033443.15611.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).