public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Tobias Burnus <burnus@net-b.de>
To: Richard Biener <rguenther@suse.de>
Cc: gcc-patches@gcc.gnu.org, fortran@gcc.gnu.org
Subject: Re: [PATCH] Change DO loop translation, avoid undefined overflow and repeated step sign tests
Date: Wed, 16 Jan 2013 14:35:00 -0000	[thread overview]
Message-ID: <50F6BA99.60108@net-b.de> (raw)
In-Reply-To: <alpine.LNX.2.00.1301161406340.6889@zhemvz.fhfr.qr>

Richard Biener wrote:
>                              if (D.1912 < 0)
>                                {
>                                  if (D.1911 > D.1910)
>                                    {
>                                      goto L.6;
>                                    }
>                                  else
>                                    {
>                                      countm1.6 = ((unsigned int) D.1910 -
> (unsigned int) D.1911) / -(unsigned int) D.1912;
>                                    }
>                                }
>                              else
>                                {
>                                  if (D.1911 < D.1910)
>                                    {
>                                      goto L.6;
>                                    }
>                                  else
>                                    {
>                                      countm1.6 = ((unsigned int) D.1911 -
> (unsigned int) D.1910) / (unsigned int) D.1912;
>                                    }
>                                }

That look better.


> Bootstrapped on x86_64-unknown-linux-gnu, regtests running.
> Ok for trunk?
>
> 2013-01-16  Richard Biener  <rguenther@suse.de>
>
> 	fortran/

I assume you mean 42108. (PR42131 caused the 'regression' and is a clone 
of 42108; PRs 52865/53957 are related.)

The patch is OK. Thanks!

Tobias

      reply	other threads:[~2013-01-16 14:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-16 13:46 Richard Biener
2013-01-16 14:35 ` Tobias Burnus [this message]

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=50F6BA99.60108@net-b.de \
    --to=burnus@net-b.de \
    --cc=fortran@gcc.gnu.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=rguenther@suse.de \
    /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).