public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/42531]  New: FAIL: gcc.c-torture/compile/20011119-1.c
@ 2009-12-29  2:51 davek at gcc dot gnu dot org
  2009-12-29  2:53 ` [Bug lto/42531] " davek at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: davek at gcc dot gnu dot org @ 2009-12-29  2:51 UTC (permalink / raw)
  To: gcc-bugs

GCC: HEAD@155348, i686-pc-cygwin native, libelf-0.8.13:

> > FAIL: gcc.c-torture/compile/20011119-1.c (test for excess errors)
> > Excess errors:
> > /win/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cccnrdgl.s:13: Error: junk at end of
> > line, first unrecognized character is `*'

  Looking at the generated assembly using --save-temps:

> >     32          .section        .gnu.lto_*_xxx,"dr"

Ref: http://gcc.gnu.org/ml/gcc/2009-12/threads.html#00292

Source not attached because it's in the testsuite.

Patch to follow.


-- 
           Summary: FAIL: gcc.c-torture/compile/20011119-1.c
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: davek at gcc dot gnu dot org
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin


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


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

* [Bug lto/42531] FAIL: gcc.c-torture/compile/20011119-1.c
  2009-12-29  2:51 [Bug lto/42531] New: FAIL: gcc.c-torture/compile/20011119-1.c davek at gcc dot gnu dot org
@ 2009-12-29  2:53 ` davek at gcc dot gnu dot org
  2009-12-30 16:37 ` davek at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: davek at gcc dot gnu dot org @ 2009-12-29  2:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from davek at gcc dot gnu dot org  2009-12-29 02:53 -------
Created an attachment (id=19408)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19408&action=view)
Avoid emitting asterisk in assembler section directives.

Several other places in lto-streamer-out.c take this same approach of simply
skipping a leading asterisk.  Bootstrapped and tests running now, will post to
-patches list when they finish.


-- 

davek at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |davek at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED


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


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

* [Bug lto/42531] FAIL: gcc.c-torture/compile/20011119-1.c
  2009-12-29  2:51 [Bug lto/42531] New: FAIL: gcc.c-torture/compile/20011119-1.c davek at gcc dot gnu dot org
  2009-12-29  2:53 ` [Bug lto/42531] " davek at gcc dot gnu dot org
@ 2009-12-30 16:37 ` davek at gcc dot gnu dot org
  2009-12-30 23:21 ` davek at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: davek at gcc dot gnu dot org @ 2009-12-30 16:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from davek at gcc dot gnu dot org  2009-12-30 16:37 -------
Test runs all finished.

Before: http://gcc.gnu.org/ml/gcc-testresults/2009-12/msg02081.html
After:  http://gcc.gnu.org/ml/gcc-testresults/2009-12/msg02582.html

No new fails.  Sending patch.


-- 


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


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

* [Bug lto/42531] FAIL: gcc.c-torture/compile/20011119-1.c
  2009-12-29  2:51 [Bug lto/42531] New: FAIL: gcc.c-torture/compile/20011119-1.c davek at gcc dot gnu dot org
  2009-12-29  2:53 ` [Bug lto/42531] " davek at gcc dot gnu dot org
  2009-12-30 16:37 ` davek at gcc dot gnu dot org
@ 2009-12-30 23:21 ` davek at gcc dot gnu dot org
  2009-12-31 15:12 ` hjl dot tools at gmail dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: davek at gcc dot gnu dot org @ 2009-12-30 23:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from davek at gcc dot gnu dot org  2009-12-30 23:21 -------
Subject: Bug 42531

Author: davek
Date: Wed Dec 30 23:20:55 2009
New Revision: 155528

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155528
Log:
        PR lto/42531
        * lto-streamer-out.c (produce_asm): Skip any leading asterisk when
        using DECL_ASSEMBLER_NAME to generate a section name.
        (copy_function): Likewise.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lto-streamer-out.c


-- 


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


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

* [Bug lto/42531] FAIL: gcc.c-torture/compile/20011119-1.c
  2009-12-29  2:51 [Bug lto/42531] New: FAIL: gcc.c-torture/compile/20011119-1.c davek at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2009-12-30 23:21 ` davek at gcc dot gnu dot org
@ 2009-12-31 15:12 ` hjl dot tools at gmail dot com
  2009-12-31 17:56 ` hjl dot tools at gmail dot com
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-12-31 15:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from hjl dot tools at gmail dot com  2009-12-31 15:12 -------
Revision 155528 caused:

FAIL: gcc.dg/lto/20081222 c_lto_20081222_0.o-c_lto_20081222_1.o link
FAIL: gcc.dg/lto/20081222 c_lto_20081222_0.o-c_lto_20081222_1.o link
FAIL: gcc.dg/lto/20081222 c_lto_20081222_0.o-c_lto_20081222_1.o link
FAIL: gcc.dg/lto/20081222 c_lto_20081222_0.o-c_lto_20081222_1.o link, 
(internal compiler error)

One error is

c_lto_20081222_0.wpa.ltrans.o: In function `main':
c_lto_20081222_0.wpa.o:(.text+0x7): undefined reference to `x'
collect2: ld returned 1 exit status

The difference in o. files is

-  [ 4] .gnu.lto_*INT_x   PROGBITS        00000000 000040 0000e3 00      0   0 
1
+  [ 4] .gnu.lto_INT_x    PROGBITS        00000000 000040 0000e3 00      0   0 
1

Either "*" is expected or the fix is incomplete.


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl dot tools at gmail dot
                   |                            |com


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


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

* [Bug lto/42531] FAIL: gcc.c-torture/compile/20011119-1.c
  2009-12-29  2:51 [Bug lto/42531] New: FAIL: gcc.c-torture/compile/20011119-1.c davek at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2009-12-31 15:12 ` hjl dot tools at gmail dot com
@ 2009-12-31 17:56 ` hjl dot tools at gmail dot com
  2010-01-01 16:49 ` hjl at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-12-31 17:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from hjl dot tools at gmail dot com  2009-12-31 17:56 -------
A different patch is posted at

http://gcc.gnu.org/ml/gcc-patches/2009-12/msg01253.html


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2009-
                   |                            |12/msg01253.html


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


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

* [Bug lto/42531] FAIL: gcc.c-torture/compile/20011119-1.c
  2009-12-29  2:51 [Bug lto/42531] New: FAIL: gcc.c-torture/compile/20011119-1.c davek at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2009-12-31 17:56 ` hjl dot tools at gmail dot com
@ 2010-01-01 16:49 ` hjl at gcc dot gnu dot org
  2010-02-06  0:34 ` davek at gcc dot gnu dot org
  2010-02-06  0:35 ` davek at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: hjl at gcc dot gnu dot org @ 2010-01-01 16:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from hjl at gcc dot gnu dot org  2010-01-01 16:49 -------
Subject: Bug 42531

Author: hjl
Date: Fri Jan  1 16:49:15 2010
New Revision: 155555

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155555
Log:
Remove asterisk in LTO section name.

2010-01-01  H.J. Lu  <hongjiu.lu@intel.com>

        PR lto/42531
        * lto-streamer-out.c (produce_asm): Revert the last change.
        (copy_function): Likewise.

        * lto-streamer.c (lto_get_section_name): Skip any leading
        asterisk in name.

Added:
    trunk/gcc/ChangeLog
    trunk/gcc/ChangeLog-2009
      - copied, changed from r155554, trunk/gcc/ChangeLog
Modified:
    trunk/gcc/lto-streamer-out.c
    trunk/gcc/lto-streamer.c


-- 


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


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

* [Bug lto/42531] FAIL: gcc.c-torture/compile/20011119-1.c
  2009-12-29  2:51 [Bug lto/42531] New: FAIL: gcc.c-torture/compile/20011119-1.c davek at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2010-01-01 16:49 ` hjl at gcc dot gnu dot org
@ 2010-02-06  0:34 ` davek at gcc dot gnu dot org
  2010-02-06  0:35 ` davek at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: davek at gcc dot gnu dot org @ 2010-02-06  0:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from davek at gcc dot gnu dot org  2010-02-06 00:34 -------
closing old bug after reverifying with latest sources and patch for bug 42776


-- 

davek at gcc dot gnu dot org changed:

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


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


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

* [Bug lto/42531] FAIL: gcc.c-torture/compile/20011119-1.c
  2009-12-29  2:51 [Bug lto/42531] New: FAIL: gcc.c-torture/compile/20011119-1.c davek at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2010-02-06  0:34 ` davek at gcc dot gnu dot org
@ 2010-02-06  0:35 ` davek at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: davek at gcc dot gnu dot org @ 2010-02-06  0:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from davek at gcc dot gnu dot org  2010-02-06 00:35 -------
just verified against r.156467


-- 

davek at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED


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


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

end of thread, other threads:[~2010-02-06  0:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-29  2:51 [Bug lto/42531] New: FAIL: gcc.c-torture/compile/20011119-1.c davek at gcc dot gnu dot org
2009-12-29  2:53 ` [Bug lto/42531] " davek at gcc dot gnu dot org
2009-12-30 16:37 ` davek at gcc dot gnu dot org
2009-12-30 23:21 ` davek at gcc dot gnu dot org
2009-12-31 15:12 ` hjl dot tools at gmail dot com
2009-12-31 17:56 ` hjl dot tools at gmail dot com
2010-01-01 16:49 ` hjl at gcc dot gnu dot org
2010-02-06  0:34 ` davek at gcc dot gnu dot org
2010-02-06  0:35 ` davek 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).