public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/25758]  New: gcc.c-torture/compile/20030921-1.c fails at -O0
@ 2006-01-12  3:08 pinskia at gcc dot gnu dot org
  2006-01-12 22:25 ` [Bug target/25758] " echristo at apple dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-12  3:08 UTC (permalink / raw)
  To: gcc-bugs

The fix is:
Index: i386.c
===================================================================
--- i386.c      (revision 109602)
+++ i386.c      (working copy)
@@ -6680,6 +6682,8 @@ output_pic_addr_const (FILE *file, rtx x
       break;

     case SYMBOL_REF:
+      if (SYMBOL_REF_DECL (x))
+       mark_decl_referenced (SYMBOL_REF_DECL (x));
       assemble_name (file, XSTR (x, 0));
       if (!TARGET_MACHO && code == 'P' && ! SYMBOL_REF_LOCAL_P (x))
        fputs ("@PLT", file);



---------
But I cannot test it at all


-- 
           Summary: gcc.c-torture/compile/20030921-1.c fails at -O0
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: assemble-failure
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
GCC target triplet: i686-apple-darwin


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


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

* [Bug target/25758] gcc.c-torture/compile/20030921-1.c fails at -O0
  2006-01-12  3:08 [Bug target/25758] New: gcc.c-torture/compile/20030921-1.c fails at -O0 pinskia at gcc dot gnu dot org
@ 2006-01-12 22:25 ` echristo at apple dot com
  2006-01-13  1:38 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: echristo at apple dot com @ 2006-01-12 22:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from echristo at apple dot com  2006-01-12 22:25 -------
I'm testing it for Andrew.


-- 


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


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

* [Bug target/25758] gcc.c-torture/compile/20030921-1.c fails at -O0
  2006-01-12  3:08 [Bug target/25758] New: gcc.c-torture/compile/20030921-1.c fails at -O0 pinskia at gcc dot gnu dot org
  2006-01-12 22:25 ` [Bug target/25758] " echristo at apple dot com
@ 2006-01-13  1:38 ` pinskia at gcc dot gnu dot org
  2006-01-16 20:18 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-13  1:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-01-13 01:38 -------
Taking for now while waiting for the results.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-01-13 01:38:28
               date|                            |


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


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

* [Bug target/25758] gcc.c-torture/compile/20030921-1.c fails at -O0
  2006-01-12  3:08 [Bug target/25758] New: gcc.c-torture/compile/20030921-1.c fails at -O0 pinskia at gcc dot gnu dot org
  2006-01-12 22:25 ` [Bug target/25758] " echristo at apple dot com
  2006-01-13  1:38 ` pinskia at gcc dot gnu dot org
@ 2006-01-16 20:18 ` pinskia at gcc dot gnu dot org
  2006-01-20 23:49 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-16 20:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-01-16 20:18 -------
Patch posted:
http://gcc.gnu.org/ml/gcc-patches/2006-01/msg00897.html


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2006-
                   |                            |01/msg00897.html
           Keywords|                            |patch


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


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

* [Bug target/25758] gcc.c-torture/compile/20030921-1.c fails at -O0
  2006-01-12  3:08 [Bug target/25758] New: gcc.c-torture/compile/20030921-1.c fails at -O0 pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-01-16 20:18 ` pinskia at gcc dot gnu dot org
@ 2006-01-20 23:49 ` pinskia at gcc dot gnu dot org
  2006-01-25 18:21 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-20 23:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-01-20 23:49 -------
I am testing the patch that RTH suggested on x86_64-linux-gnu to make sure that
it works there.


-- 


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


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

* [Bug target/25758] gcc.c-torture/compile/20030921-1.c fails at -O0
  2006-01-12  3:08 [Bug target/25758] New: gcc.c-torture/compile/20030921-1.c fails at -O0 pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2006-01-20 23:49 ` pinskia at gcc dot gnu dot org
@ 2006-01-25 18:21 ` pinskia at gcc dot gnu dot org
  2006-01-25 18:33 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-25 18:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-01-25 18:21 -------
New patch posted:
http://gcc.gnu.org/ml/gcc-patches/2006-01/msg01751.html


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://gcc.gnu.org/ml/gcc-  |http://gcc.gnu.org/ml/gcc-
                   |patches/2006-               |patches/2006-
                   |01/msg00897.html            |01/msg01751.html


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


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

* [Bug target/25758] gcc.c-torture/compile/20030921-1.c fails at -O0
  2006-01-12  3:08 [Bug target/25758] New: gcc.c-torture/compile/20030921-1.c fails at -O0 pinskia at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2006-01-25 18:33 ` pinskia at gcc dot gnu dot org
@ 2006-01-25 18:33 ` pinskia at gcc dot gnu dot org
  2006-05-26 14:18 ` jakub at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-25 18:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2006-01-25 18:33 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.2.0


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


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

* [Bug target/25758] gcc.c-torture/compile/20030921-1.c fails at -O0
  2006-01-12  3:08 [Bug target/25758] New: gcc.c-torture/compile/20030921-1.c fails at -O0 pinskia at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2006-01-25 18:21 ` pinskia at gcc dot gnu dot org
@ 2006-01-25 18:33 ` pinskia at gcc dot gnu dot org
  2006-01-25 18:33 ` pinskia at gcc dot gnu dot org
  2006-05-26 14:18 ` jakub at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-25 18:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2006-01-25 18:33 -------
Subject: Bug 25758

Author: pinskia
Date: Wed Jan 25 18:33:14 2006
New Revision: 110219

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110219
Log:
2006-01-25  Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/25758
        * config/i386/i386.c (output_pic_addr_const) <case SYMBOL_REF>:
        Use output_addr_const instead of assemble_name.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c


-- 


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


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

* [Bug target/25758] gcc.c-torture/compile/20030921-1.c fails at -O0
  2006-01-12  3:08 [Bug target/25758] New: gcc.c-torture/compile/20030921-1.c fails at -O0 pinskia at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2006-01-25 18:33 ` pinskia at gcc dot gnu dot org
@ 2006-05-26 14:18 ` jakub at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-05-26 14:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from jakub at gcc dot gnu dot org  2006-05-26 14:17 -------
Subject: Bug 25758

Author: jakub
Date: Fri May 26 14:17:47 2006
New Revision: 114132

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114132
Log:
        PR target/27758
        Backported from mainline
        2006-01-25  Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/25758
        * config/i386/i386.c (output_pic_addr_const) <case SYMBOL_REF>:
        Use output_addr_const instead of assemble_name.

        * gcc.dg/pr27758.c: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/pr27758.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/config/i386/i386.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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


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

end of thread, other threads:[~2006-05-26 14:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-12  3:08 [Bug target/25758] New: gcc.c-torture/compile/20030921-1.c fails at -O0 pinskia at gcc dot gnu dot org
2006-01-12 22:25 ` [Bug target/25758] " echristo at apple dot com
2006-01-13  1:38 ` pinskia at gcc dot gnu dot org
2006-01-16 20:18 ` pinskia at gcc dot gnu dot org
2006-01-20 23:49 ` pinskia at gcc dot gnu dot org
2006-01-25 18:21 ` pinskia at gcc dot gnu dot org
2006-01-25 18:33 ` pinskia at gcc dot gnu dot org
2006-01-25 18:33 ` pinskia at gcc dot gnu dot org
2006-05-26 14:18 ` jakub at gcc dot gnu dot org

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