public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "krebbel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/55006] [4.8 Regression] aermod.f90 is miscompiled with '-m64 -O2 -funroll-loops' after revision 192526
Date: Wed, 05 Dec 2012 11:56:00 -0000	[thread overview]
Message-ID: <bug-55006-4-AT8g3v8irj@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-55006-4@http.gcc.gnu.org/bugzilla/>


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

Andreas Krebbel <krebbel at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |krebbel at gcc dot gnu.org

--- Comment #10 from Andreas Krebbel <krebbel at gcc dot gnu.org> 2012-12-05 11:56:03 UTC ---
The attached testcase gets miscompiled starting with that revision.

cc1  -fpreprocessed -quiet  -O2 -march=z196 -funroll-loops  t.c 

Perl_lex_start:
.LFB0:
    stgrl    %r2,PL_linestr
    tm    13(%r2),128
    stmg    %r14,%r15,112(%r15)
.LCFI0:
    lay    %r15,-168(%r15)
.LCFI1:
    jne    .L6
    l    %r0,12            <------ broken (access to absolute address 12)
    lgrl    %r2,PL_linestr
.L2:
    tmlh    %r0,4
    jne    .L1
    la    %r3,160(%r15)
    lghi    %r4,2
    brasl    %r14,Perl_sv_2pv_flags
.L1:
    lmg    %r14,%r15,280(%r15)
.LCFI2:
    br    %r14
.L6:
.LCFI3:
    brasl    %r14,Perl_sv_2mortal
    stgrl    %r2,PL_linestr
    l    %r0,12(%r2)
    j    .L2


  parent reply	other threads:[~2012-12-05 11:56 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-21 12:12 [Bug tree-optimization/55006] New: " dominiq at lps dot ens.fr
2012-10-21 12:24 ` [Bug tree-optimization/55006] " dominiq at lps dot ens.fr
2012-10-21 12:39 ` dominiq at lps dot ens.fr
2012-10-22  9:06 ` rguenth at gcc dot gnu.org
2012-10-29 19:25 ` izamyatin at gmail dot com
2012-11-08 12:07 ` dominiq at lps dot ens.fr
2012-11-18 23:11 ` dominiq at lps dot ens.fr
2012-11-19 21:22 ` [Bug rtl-optimization/55006] " steven at gcc dot gnu.org
2012-11-28  0:18 ` steven at gcc dot gnu.org
2012-12-03 15:59 ` rguenth at gcc dot gnu.org
2012-12-03 16:04 ` steven at gcc dot gnu.org
2012-12-05 11:54 ` krebbel at gcc dot gnu.org
2012-12-05 11:56 ` krebbel at gcc dot gnu.org [this message]
2012-12-05 11:58 ` krebbel at gcc dot gnu.org
2012-12-05 11:59 ` krebbel at gcc dot gnu.org
2012-12-05 12:24 ` steven at gcc dot gnu.org
2012-12-05 12:32 ` steven at gcc dot gnu.org
2012-12-05 12:55 ` krebbel at gcc dot gnu.org
2012-12-21 12:19 ` rguenth at gcc dot gnu.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=bug-55006-4-AT8g3v8irj@http.gcc.gnu.org/bugzilla/ \
    --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).