public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "schwab@linux-m68k.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/65064] New: [5.0 regression] FAIL: gcc.dg/torture/pr60115.c   -O1  (test for excess errors)
Date: Sat, 14 Feb 2015 20:39:00 -0000	[thread overview]
Message-ID: <bug-65064-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65064

            Bug ID: 65064
           Summary: [5.0 regression] FAIL: gcc.dg/torture/pr60115.c   -O1
                    (test for excess errors)
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: schwab@linux-m68k.org
                CC: hjl at gcc dot gnu.org, rth at gcc dot gnu.org
            Target: ia64-*-*

$ gcc/xgcc -B gcc/ ../gcc/testsuite/gcc.dg/torture/pr60115.c -O
/usr/ia64-suse-linux/bin/ld: a.out: __gp does not cover short data segment
collect2: error: ld returned 1 exit status

Broken by r220674.

--- gcc-20150213/Build/pr60115.s        2015-02-14 21:36:37.000000000 +0100
+++ gcc-20150214/Build/pr60115.s        2015-02-14 21:35:30.000000000 +0100
@@ -7,22 +7,20 @@
        .proc main#
 main:
        .prologue
-       .save ar.lc, r3
-       mov r3 = ar.lc
+       .save ar.lc, r2
+       mov r2 = ar.lc
        .body
 [.L2:]
-       addl r14 = @ltoffx(a#), r1
-       ;;
-       ld8.mov r14 = [r14], a#
+       addl r14 = @gprel(a#), gp
        ;;
        ld4 r14 = [r14]
        ;;
        cmp4.eq p6, p7 = 0, r14
-       addl r2 = @ltoffx(b#), r1
+       addl r16 = @ltoffx(b#+32768), r1
        ;;
-       ld8.mov r2 = [r2], b#
+       ld8.mov r16 = [r16], b#+32768
        ;;
-       addl r16 = 40000, r2
+       adds r16 = 7232, r16
 .L4:
        .pred.rel.mutex p6, p7
        (p6) br.cond.dpnt .L3
@@ -40,17 +38,15 @@
        adds r14 = -1, r14
        ;;
        br.cloop.sptk.few .L6
-       addl r14 = @ltoffx(a#), r1
-       ;;
-       ld8.mov r14 = [r14], a#
+       addl r14 = @gprel(a#), gp
        ;;
        st4 [r14] = r0
 .L3:
        mov r8 = r0
-       mov ar.lc = r3
+       mov ar.lc = r2
        br.ret.sptk.many b0
        ;;
        .endp main#
        .common b#,8,4
        .common a#,4,4
-       .ident  "GCC: (GNU) 5.0.0 20150213 (experimental) [trunk revision
220673]"
+       .ident  "GCC: (GNU) 5.0.0 20150214 (experimental) [trunk revision
220705]"


             reply	other threads:[~2015-02-14 20:39 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-14 20:39 schwab@linux-m68k.org [this message]
2015-02-15  1:50 ` [Bug rtl-optimization/65064] " hjl.tools at gmail dot com
2015-02-15  2:03 ` hjl.tools at gmail dot com
2015-02-15  2:14 ` hjl.tools at gmail dot com
2015-02-15 13:01 ` [Bug target/65064] " schwab@linux-m68k.org
2015-02-15 13:15 ` hjl.tools at gmail dot com
2015-02-15 14:07 ` schwab@linux-m68k.org
2015-02-15 14:20 ` hjl.tools at gmail dot com
2015-02-16  9:34 ` schwab@linux-m68k.org
2015-02-16 10:15 ` [Bug target/65064] [5 " rguenth at gcc dot gnu.org
2015-02-16 10:52 ` schwab@linux-m68k.org
2015-02-16 12:42 ` schwab@linux-m68k.org
2015-02-16 12:53 ` hjl.tools at gmail dot com
2015-02-17  9:02 ` schwab@linux-m68k.org
2015-02-17 11:35 ` schwab@linux-m68k.org
2015-02-18 12:02 ` schwab@linux-m68k.org
2015-02-18 13:20 ` hjl.tools at gmail dot com
2015-02-18 17:24 ` hjl at gcc dot gnu.org
2015-02-18 17:25 ` hjl.tools at gmail dot com

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-65064-4@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).