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/39999] [4.4/4.5 Regression] gcc 4.4.0 compiles in infinite loop
Date: Wed, 06 May 2009 13:25:00 -0000	[thread overview]
Message-ID: <20090506132440.6856.qmail@sourceware.org> (raw)
In-Reply-To: <bug-39999-11113@http.gcc.gnu.org/bugzilla/>



------- Comment #4 from rguenth at gcc dot gnu dot org  2009-05-06 13:24 -------
Reduced testcase:

void foo(void *);
void
MMAPGCD (int *A1, int *A2)
{
  int *t; 

  do
    {
      t = A1;
      A1 = A2;
      A2 = t;
    }
  while (A2[-1]);

  foo (A1-1);
  foo (A2-1);
}   

if you make foo take int * the issue goes away.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.4.0
      Known to work|                            |4.3.3
            Summary|gcc 4.4.0 compiles in       |[4.4/4.5 Regression] gcc
                   |infinite loop               |4.4.0 compiles in infinite
                   |                            |loop
   Target Milestone|---                         |4.4.1


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


  parent reply	other threads:[~2009-05-06 13:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-01 22:43 [Bug c/39999] New: " howarth at nitro dot med dot uc dot edu
2009-05-01 22:49 ` [Bug middle-end/39999] " pinskia at gcc dot gnu dot org
2009-05-01 23:00 ` howarth at nitro dot med dot uc dot edu
2009-05-02 10:20 ` [Bug tree-optimization/39999] " rguenth at gcc dot gnu dot org
2009-05-06 13:25 ` rguenth at gcc dot gnu dot org [this message]
2009-05-06 13:53 ` [Bug tree-optimization/39999] [4.4/4.5 Regression] " rguenth at gcc dot gnu dot org
2009-05-06 15:30 ` mmitchel at gcc dot gnu dot org
2009-05-15 13:10 ` rguenth at gcc dot gnu dot org
2009-05-15 13:10 ` [Bug tree-optimization/39999] [4.4 " rguenth at gcc dot gnu dot org
2009-05-15 13:38 ` howarth at nitro dot med dot uc dot edu
2009-05-15 13:47 ` rguenther at suse dot de
2009-05-18 10:14 ` rguenth at gcc dot gnu dot org
2009-05-18 10:14 ` 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=20090506132440.6856.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).