public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/65064] New: [5.0 regression] FAIL: gcc.dg/torture/pr60115.c   -O1  (test for excess errors)
@ 2015-02-14 20:39 schwab@linux-m68k.org
  2015-02-15  1:50 ` [Bug rtl-optimization/65064] " hjl.tools at gmail dot com
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: schwab@linux-m68k.org @ 2015-02-14 20:39 UTC (permalink / raw)
  To: gcc-bugs

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]"


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2015-02-18 17:25 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-14 20:39 [Bug rtl-optimization/65064] New: [5.0 regression] FAIL: gcc.dg/torture/pr60115.c -O1 (test for excess errors) schwab@linux-m68k.org
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

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).