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

* [Bug rtl-optimization/65064] [5.0 regression] FAIL: gcc.dg/torture/pr60115.c   -O1  (test for excess errors)
  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 ` hjl.tools at gmail dot com
  2015-02-15  2:03 ` hjl.tools at gmail dot com
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: hjl.tools at gmail dot com @ 2015-02-15  1:50 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2015-02-15
     Ever confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Can you provide all glibc input files to ld, including crt*.o,
ld-linux-ia64.so.2, libc.so, ..., so that I can reproduce it
with a cross linker on Linux/x86-64?


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

* [Bug rtl-optimization/65064] [5.0 regression] FAIL: gcc.dg/torture/pr60115.c   -O1  (test for excess errors)
  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
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: hjl.tools at gmail dot com @ 2015-02-15  2:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Does -fno-common fix the problem?  If it is the case, we need to
treat common symbol differently for ia64 since

    .common    b#,8,4
    .common    a#,4,4

won't be placed in small data section reachable via GP reloc. The
problem for ia64 is even if a data symbol is defined locally, we
can't use GP reloc if it isn't placed in small data section.


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

* [Bug rtl-optimization/65064] [5.0 regression] FAIL: gcc.dg/torture/pr60115.c   -O1  (test for excess errors)
  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
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: hjl.tools at gmail dot com @ 2015-02-15  2:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 34759
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34759&action=edit
A patch

Please try this.


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

* [Bug target/65064] [5.0 regression] FAIL: gcc.dg/torture/pr60115.c   -O1  (test for excess errors)
  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
                   ` (2 preceding siblings ...)
  2015-02-15  2:14 ` hjl.tools at gmail dot com
@ 2015-02-15 13:01 ` schwab@linux-m68k.org
  2015-02-15 13:15 ` hjl.tools at gmail dot com
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: schwab@linux-m68k.org @ 2015-02-15 13:01 UTC (permalink / raw)
  To: gcc-bugs

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
          Component|rtl-optimization            |target

--- Comment #4 from Andreas Schwab <schwab@linux-m68k.org> ---
This fixes the test case at all opt levels.


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

* [Bug target/65064] [5.0 regression] FAIL: gcc.dg/torture/pr60115.c   -O1  (test for excess errors)
  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
                   ` (3 preceding siblings ...)
  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
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: hjl.tools at gmail dot com @ 2015-02-15 13:15 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #34759|0                           |1
        is obsolete|                            |

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 34766
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34766&action=edit
An updated patch

Please try this one instead.


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

* [Bug target/65064] [5.0 regression] FAIL: gcc.dg/torture/pr60115.c   -O1  (test for excess errors)
  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
                   ` (4 preceding siblings ...)
  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
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: schwab@linux-m68k.org @ 2015-02-15 14:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Andreas Schwab <schwab@linux-m68k.org> ---
This works as well.


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

* [Bug target/65064] [5.0 regression] FAIL: gcc.dg/torture/pr60115.c   -O1  (test for excess errors)
  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
                   ` (5 preceding siblings ...)
  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
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: hjl.tools at gmail dot com @ 2015-02-15 14:20 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
A patch is posted at

https://gcc.gnu.org/ml/gcc-patches/2015-02/msg00913.html


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

* [Bug target/65064] [5.0 regression] FAIL: gcc.dg/torture/pr60115.c   -O1  (test for excess errors)
  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
                   ` (6 preceding siblings ...)
  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
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: schwab@linux-m68k.org @ 2015-02-16  9:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Andreas Schwab <schwab@linux-m68k.org> ---
It doesn't bootstrap though:

ada/ali.o: In function `ali__alis__reallocate':
ali.adb:(.text+0x2170): relocation truncated to fit: GPREL22 against `.rodata'
ada/ali.o: In function `ali__units__reallocate':
ali.adb:(.text+0x2f00): relocation truncated to fit: GPREL22 against `.rodata'
ada/ali.o: In function `ali__interrupt_states__reallocate':
ali.adb:(.text+0x4150): relocation truncated to fit: GPREL22 against `.rodata'
ada/ali.o: In function `ali__specific_dispatching__reallocate':
ali.adb:(.text+0x5540): relocation truncated to fit: GPREL22 against `.rodata'
ada/ali.o: In function `ali__withs__reallocate':
ali.adb:(.text+0x6a00): relocation truncated to fit: GPREL22 against `.rodata'
ada/ali.o: In function `ali__args__reallocate':
ali.adb:(.text+0x8080): relocation truncated to fit: GPREL22 against `.rodata'
ada/ali.o: In function `ali__linker_options__reallocate':
ali.adb:(.text+0x92b0): relocation truncated to fit: GPREL22 against `.rodata'
ada/ali.o: In function `ali__notes__reallocate':
ali.adb:(.text+0xa570): relocation truncated to fit: GPREL22 against `.rodata'
ada/ali.o: In function `ali__no_deps__reallocate':
ali.adb:(.text+0xc6b0): relocation truncated to fit: GPREL22 against `.rodata'
ada/ali.o: In function `ali__sdep__reallocate':
ali.adb:(.text+0xd850): relocation truncated to fit: GPREL22 against `.rodata'
ada/ali.o: In function `ali__xref_section__reallocate':
ali.adb:(.text+0xf3a0): additional relocation overflows omitted from the output
/usr/ia64-suse-linux/bin/ld: final link failed: Nonrepresentable section on
output
collect2: error: ld returned 1 exit status


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

* [Bug target/65064] [5 regression] FAIL: gcc.dg/torture/pr60115.c   -O1  (test for excess errors)
  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
                   ` (7 preceding siblings ...)
  2015-02-16  9:34 ` schwab@linux-m68k.org
@ 2015-02-16 10:15 ` rguenth at gcc dot gnu.org
  2015-02-16 10:52 ` schwab@linux-m68k.org
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-02-16 10:15 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |5.0
            Summary|[5.0 regression] FAIL:      |[5 regression] FAIL:
                   |gcc.dg/torture/pr60115.c    |gcc.dg/torture/pr60115.c
                   |-O1  (test for excess       |-O1  (test for excess
                   |errors)                     |errors)


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

* [Bug target/65064] [5 regression] FAIL: gcc.dg/torture/pr60115.c   -O1  (test for excess errors)
  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
                   ` (8 preceding siblings ...)
  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
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: schwab@linux-m68k.org @ 2015-02-16 10:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Andreas Schwab <schwab@linux-m68k.org> ---
before:
    2170:       02 38 01 02 00 24       [MII]       addl r39=0,r1
                        2170: GPREL22   .sdata+0x38

after:
    2170:       02 38 01 02 00 24       [MII]       addl r39=0,r1
                        2170: GPREL22   .rodata+0x114


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

* [Bug target/65064] [5 regression] FAIL: gcc.dg/torture/pr60115.c   -O1  (test for excess errors)
  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
                   ` (9 preceding siblings ...)
  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
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: schwab@linux-m68k.org @ 2015-02-16 12:42 UTC (permalink / raw)
  To: gcc-bugs

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #11 from Andreas Schwab <schwab@linux-m68k.org> ---
Ada doesn't preprocess.


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

* [Bug target/65064] [5 regression] FAIL: gcc.dg/torture/pr60115.c   -O1  (test for excess errors)
  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
                   ` (10 preceding siblings ...)
  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
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: hjl.tools at gmail dot com @ 2015-02-16 12:53 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Andreas Schwab from comment #11)
> Ada doesn't preprocess.

Can you try my first patch? If it works, I can explain why :-(.


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

* [Bug target/65064] [5 regression] FAIL: gcc.dg/torture/pr60115.c   -O1  (test for excess errors)
  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
                   ` (11 preceding siblings ...)
  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
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: schwab@linux-m68k.org @ 2015-02-17  9:02 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #13 from Andreas Schwab <schwab@linux-m68k.org> ---
This has the same problem.


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

* [Bug target/65064] [5 regression] FAIL: gcc.dg/torture/pr60115.c   -O1  (test for excess errors)
  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
                   ` (12 preceding siblings ...)
  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
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: schwab@linux-m68k.org @ 2015-02-17 11:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #14 from Andreas Schwab <schwab@linux-m68k.org> ---
I've accidentally tested with both patches applied, will try again with only
the first one.


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

* [Bug target/65064] [5 regression] FAIL: gcc.dg/torture/pr60115.c   -O1  (test for excess errors)
  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
                   ` (13 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: schwab@linux-m68k.org @ 2015-02-18 12:02 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #15 from Andreas Schwab <schwab@linux-m68k.org> ---
The first patch works without regressions.

http://gcc.gnu.org/ml/gcc-testresults/2015-02/msg02066.html


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

* [Bug target/65064] [5 regression] FAIL: gcc.dg/torture/pr60115.c   -O1  (test for excess errors)
  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
                   ` (14 preceding siblings ...)
  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
  17 siblings, 0 replies; 19+ messages in thread
From: hjl.tools at gmail dot com @ 2015-02-18 13:20 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #16 from H.J. Lu <hjl.tools at gmail dot com> ---
A new patch is posted at

https://gcc.gnu.org/ml/gcc-patches/2015-02/msg01105.html


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

* [Bug target/65064] [5 regression] FAIL: gcc.dg/torture/pr60115.c   -O1  (test for excess errors)
  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
                   ` (15 preceding siblings ...)
  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
  17 siblings, 0 replies; 19+ messages in thread
From: hjl at gcc dot gnu.org @ 2015-02-18 17:24 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #17 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Wed Feb 18 17:24:20 2015
New Revision: 220792

URL: https://gcc.gnu.org/viewcvs?rev=220792&root=gcc&view=rev
Log:
Return false for common symbols in sdata_symbolic_operand

Although common symbols are defined in executables, they aren't in small
data section.  But a definition in small data section overrides a common
symbol, which still binds lcoally, and turns a reference to common symbol
to reference to small data section.  Even if ia64_in_small_data_p returns
true on common symbols, sdata_symbolic_operand must return false on common
symbols.  Common symbols are assumed to be placed in small data section,
but are accessed as if they are in normal data section so that they won't
cause any relocation overflow.

    PR target/65064
    * config/ia64/predicates.md (sdata_symbolic_operand): Return false
    for common symbols.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/ia64/predicates.md


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

* [Bug target/65064] [5 regression] FAIL: gcc.dg/torture/pr60115.c   -O1  (test for excess errors)
  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
                   ` (16 preceding siblings ...)
  2015-02-18 17:24 ` hjl at gcc dot gnu.org
@ 2015-02-18 17:25 ` hjl.tools at gmail dot com
  17 siblings, 0 replies; 19+ messages in thread
From: hjl.tools at gmail dot com @ 2015-02-18 17:25 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #18 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed.


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