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/17247] New: [3.5 Regression] TER is not always doing its job
Date: Tue, 31 Aug 2004 06:32:00 -0000	[thread overview]
Message-ID: <20040831063245.17247.pinskia@gcc.gnu.org> (raw)

I finnally was able to analyzed why gcc.dg/rs6000-power2-2.c was failing and noticed that TER was 
not doing its job in combining back T.1 = *(a+-1*8); into t = T.1;  why I don't know.
Here is the reduced testcase:
register double t1 __asm__("fr1");
void t(double *a, double *b)
{
        t1 = a[-1];
        b[-1] = t1;
}
Compile with "gcc -O3 -S -o - t.c -w" to see the problem.

Can also see the problem with the following source on any target if you look into the *.var file:
double t1;
void t(double *a, double *b)
{
        t1 = a[-1];
        b[-1] = t1;
}

-- 
           Summary: [3.5 Regression] TER is not always doing its job
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: critical
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc-*-*


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


             reply	other threads:[~2004-08-31  6:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-31  6:32 pinskia at gcc dot gnu dot org [this message]
2004-08-31  6:35 ` [Bug tree-optimization/17247] " pinskia at gcc dot gnu dot org
2004-08-31  6:39 ` pinskia 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=20040831063245.17247.pinskia@gcc.gnu.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).