public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/48100] New: [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304
@ 2011-03-13  0:03 d.g.gorbachev at gmail dot com
  2011-03-13  0:06 ` [Bug lto/48100] " d.g.gorbachev at gmail dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2011-03-13  0:03 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 Regression] Assertion failed in
                    lto_varpool_replace_node, at lto-symtab.c:304
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: d.g.gorbachev@gmail.com


Created attachment 23641
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23641
Backtrace


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

* [Bug lto/48100] [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304
  2011-03-13  0:03 [Bug lto/48100] New: [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 d.g.gorbachev at gmail dot com
@ 2011-03-13  0:06 ` d.g.gorbachev at gmail dot com
  2011-03-14 11:24 ` [Bug lto/48100] [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 with mixed LTO/non-LTO objects rguenth at gcc dot gnu.org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2011-03-13  0:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2011-03-13 00:06:08 UTC ---
Created attachment 23642
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23642
Testcase


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

* [Bug lto/48100] [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 with mixed LTO/non-LTO objects
  2011-03-13  0:03 [Bug lto/48100] New: [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 d.g.gorbachev at gmail dot com
  2011-03-13  0:06 ` [Bug lto/48100] " d.g.gorbachev at gmail dot com
@ 2011-03-14 11:24 ` rguenth at gcc dot gnu.org
  2011-03-14 11:28 ` rguenth at gcc dot gnu.org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-03-14 11:24 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.03.14 11:23:58
                 CC|                            |hubicka at gcc dot gnu.org
   Target Milestone|---                         |4.6.0
            Summary|[4.6 Regression] Assertion  |[4.6 Regression] Assertion
                   |failed in                   |failed in
                   |lto_varpool_replace_node,   |lto_varpool_replace_node,
                   |at lto-symtab.c:304         |at lto-symtab.c:304 with
                   |                            |mixed LTO/non-LTO objects
     Ever Confirmed|0                           |1

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-14 11:23:58 UTC ---
Confirmed.  We do not handle commons (multiple defs) gracefully that the
linker plugin chooses the prevailing def from a non-IL file from.

2
i.o 1
79 a37d8495 RESOLVED_EXEC i
m.o 2
79 c7371d0 PREVAILING_DEF main
84 c7371d0 RESOLVED_EXEC i

so it chose i-nonlto.o to provide i but we don't see that (obviously).

It works when re-ordering the object files on the command-line so it
chooses i.o as the provider.

Something to think about (also in the context of C++ comdat groups).


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

* [Bug lto/48100] [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 with mixed LTO/non-LTO objects
  2011-03-13  0:03 [Bug lto/48100] New: [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 d.g.gorbachev at gmail dot com
  2011-03-13  0:06 ` [Bug lto/48100] " d.g.gorbachev at gmail dot com
  2011-03-14 11:24 ` [Bug lto/48100] [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 with mixed LTO/non-LTO objects rguenth at gcc dot gnu.org
@ 2011-03-14 11:28 ` rguenth at gcc dot gnu.org
  2011-03-25 20:02 ` [Bug lto/48100] [4.6/4.7 " jakub at gcc dot gnu.org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-03-14 11:28 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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

* [Bug lto/48100] [4.6/4.7 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 with mixed LTO/non-LTO objects
  2011-03-13  0:03 [Bug lto/48100] New: [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 d.g.gorbachev at gmail dot com
                   ` (2 preceding siblings ...)
  2011-03-14 11:28 ` rguenth at gcc dot gnu.org
@ 2011-03-25 20:02 ` jakub at gcc dot gnu.org
  2011-06-27 15:30 ` jakub at gcc dot gnu.org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-03-25 20:02 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.6.0                       |4.6.1

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-25 19:52:16 UTC ---
GCC 4.6.0 is being released, adjusting target milestone.


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

* [Bug lto/48100] [4.6/4.7 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 with mixed LTO/non-LTO objects
  2011-03-13  0:03 [Bug lto/48100] New: [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 d.g.gorbachev at gmail dot com
                   ` (3 preceding siblings ...)
  2011-03-25 20:02 ` [Bug lto/48100] [4.6/4.7 " jakub at gcc dot gnu.org
@ 2011-06-27 15:30 ` jakub at gcc dot gnu.org
  2011-10-26 17:14 ` jakub at gcc dot gnu.org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-06-27 15:30 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.6.1                       |4.6.2

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-27 12:32:44 UTC ---
GCC 4.6.1 is being released.


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

* [Bug lto/48100] [4.6/4.7 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 with mixed LTO/non-LTO objects
  2011-03-13  0:03 [Bug lto/48100] New: [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 d.g.gorbachev at gmail dot com
                   ` (4 preceding siblings ...)
  2011-06-27 15:30 ` jakub at gcc dot gnu.org
@ 2011-10-26 17:14 ` jakub at gcc dot gnu.org
  2011-10-26 19:21 ` d.g.gorbachev at gmail dot com
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-10-26 17:14 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.6.2                       |4.6.3

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-10-26 17:13:30 UTC ---
GCC 4.6.2 is being released.


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

* [Bug lto/48100] [4.6/4.7 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 with mixed LTO/non-LTO objects
  2011-03-13  0:03 [Bug lto/48100] New: [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 d.g.gorbachev at gmail dot com
                   ` (5 preceding siblings ...)
  2011-10-26 17:14 ` jakub at gcc dot gnu.org
@ 2011-10-26 19:21 ` d.g.gorbachev at gmail dot com
  2011-12-07 13:52 ` [Bug lto/48100] [4.6 " rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2011-10-26 19:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2011-10-26 19:21:11 UTC ---
Works with recent trunk. Fixed in r179424 (PR 47247)?


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

* [Bug lto/48100] [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 with mixed LTO/non-LTO objects
  2011-03-13  0:03 [Bug lto/48100] New: [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 d.g.gorbachev at gmail dot com
                   ` (6 preceding siblings ...)
  2011-10-26 19:21 ` d.g.gorbachev at gmail dot com
@ 2011-12-07 13:52 ` rguenth at gcc dot gnu.org
  2011-12-07 13:54 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-12-07 13:52 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.6/4.7 Regression]        |[4.6 Regression] Assertion
                   |Assertion failed in         |failed in
                   |lto_varpool_replace_node,   |lto_varpool_replace_node,
                   |at lto-symtab.c:304 with    |at lto-symtab.c:304 with
                   |mixed LTO/non-LTO objects   |mixed LTO/non-LTO objects

--- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-07 13:51:44 UTC ---
The resolution is still the same - we just don't ICE anymore on trunk.  Needs
to be bisected I guess.


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

* [Bug lto/48100] [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 with mixed LTO/non-LTO objects
  2011-03-13  0:03 [Bug lto/48100] New: [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 d.g.gorbachev at gmail dot com
                   ` (7 preceding siblings ...)
  2011-12-07 13:52 ` [Bug lto/48100] [4.6 " rguenth at gcc dot gnu.org
@ 2011-12-07 13:54 ` rguenth at gcc dot gnu.org
  2012-03-01 14:40 ` jakub at gcc dot gnu.org
  2013-04-12 16:17 ` jakub at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-12-07 13:54 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-07 13:53:38 UTC ---
Author: rguenth
Date: Wed Dec  7 13:53:30 2011
New Revision: 182082

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182082
Log:
2011-12-07  Richard Guenther  <rguenther@suse.de>

    PR lto/48100
    * gcc.dg/lto/20111207-1_0.c: New testcase.
    * gcc.dg/lto/20111207-1_1.c: Likewise.
    * gcc.dg/lto/20111207-1_2.c: Likewise.
    * gcc.dg/lto/20111207-1_3.c: Likewise.

Added:
    trunk/gcc/testsuite/gcc.dg/lto/20111207-1_0.c
    trunk/gcc/testsuite/gcc.dg/lto/20111207-1_1.c
    trunk/gcc/testsuite/gcc.dg/lto/20111207-1_2.c
    trunk/gcc/testsuite/gcc.dg/lto/20111207-1_3.c
Modified:
    trunk/gcc/testsuite/ChangeLog


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

* [Bug lto/48100] [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 with mixed LTO/non-LTO objects
  2011-03-13  0:03 [Bug lto/48100] New: [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 d.g.gorbachev at gmail dot com
                   ` (8 preceding siblings ...)
  2011-12-07 13:54 ` rguenth at gcc dot gnu.org
@ 2012-03-01 14:40 ` jakub at gcc dot gnu.org
  2013-04-12 16:17 ` jakub at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-03-01 14:40 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.6.3                       |4.6.4

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-01 14:38:19 UTC ---
GCC 4.6.3 is being released.


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

* [Bug lto/48100] [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 with mixed LTO/non-LTO objects
  2011-03-13  0:03 [Bug lto/48100] New: [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 d.g.gorbachev at gmail dot com
                   ` (9 preceding siblings ...)
  2012-03-01 14:40 ` jakub at gcc dot gnu.org
@ 2013-04-12 16:17 ` jakub at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-04-12 16:17 UTC (permalink / raw)
  To: gcc-bugs


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|4.6.4                       |4.7.0

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-12 16:17:36 UTC ---
The 4.6 branch has been closed, fixed in GCC 4.7.0.


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

end of thread, other threads:[~2013-04-12 16:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-13  0:03 [Bug lto/48100] New: [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 d.g.gorbachev at gmail dot com
2011-03-13  0:06 ` [Bug lto/48100] " d.g.gorbachev at gmail dot com
2011-03-14 11:24 ` [Bug lto/48100] [4.6 Regression] Assertion failed in lto_varpool_replace_node, at lto-symtab.c:304 with mixed LTO/non-LTO objects rguenth at gcc dot gnu.org
2011-03-14 11:28 ` rguenth at gcc dot gnu.org
2011-03-25 20:02 ` [Bug lto/48100] [4.6/4.7 " jakub at gcc dot gnu.org
2011-06-27 15:30 ` jakub at gcc dot gnu.org
2011-10-26 17:14 ` jakub at gcc dot gnu.org
2011-10-26 19:21 ` d.g.gorbachev at gmail dot com
2011-12-07 13:52 ` [Bug lto/48100] [4.6 " rguenth at gcc dot gnu.org
2011-12-07 13:54 ` rguenth at gcc dot gnu.org
2012-03-01 14:40 ` jakub at gcc dot gnu.org
2013-04-12 16:17 ` jakub at gcc dot gnu.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).