public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/65287] New: Current trunk ICE in address_matters_p, at symtab.c:1908
@ 2015-03-02 23:33 ppluzhnikov at google dot com
  2015-03-03  0:36 ` [Bug c/65287] " ppluzhnikov at google dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: ppluzhnikov at google dot com @ 2015-03-02 23:33 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 65287
           Summary: Current trunk ICE in address_matters_p, at
                    symtab.c:1908
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ppluzhnikov at google dot com

Created attachment 34927
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34927&action=edit
test case

Continued from PR 65263

r221040 is also possibly causing:

  ../sysdeps/gnu/siglist.c:77:1: internal compiler error: in address_matters_p,
at symtab.c:1908

when building trunk GLIBC (seen with GCC @r221125; same source builds with GCC
@r220312).

../sysdeps/gnu/siglist.c:77:1: internal compiler error: in address_matters_p,
at symtab.c:1908
 versioned_symbol (libc, __new_sys_sigabbrev, sys_sigabbrev, GLIBC_2_1);
 ^
0x747118 symtab_node::address_matters_p()
    ../../gcc/symtab.c:1908
0x10e1dcb ipa_icf::sem_variable::merge(ipa_icf::sem_item*)
    ../../gcc/ipa-icf.c:1723
0x10e4b21 ipa_icf::sem_item_optimizer::merge_classes(unsigned int)
    ../../gcc/ipa-icf.c:2955
0x10ed8c4 ipa_icf::sem_item_optimizer::execute()
    ../../gcc/ipa-icf.c:2217
0x10ef521 ipa_icf_driver
    ../../gcc/ipa-icf.c:3034
0x10ef521 ipa_icf::pass_ipa_icf::execute(function*)
    ../../gcc/ipa-icf.c:3081
Please submit a full bug report,

Reproduces with:
gcc-svn-r221125/bin/gcc -c -O2 /tmp/t.i


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

* [Bug c/65287] Current trunk ICE in address_matters_p, at symtab.c:1908
  2015-03-02 23:33 [Bug c/65287] New: Current trunk ICE in address_matters_p, at symtab.c:1908 ppluzhnikov at google dot com
@ 2015-03-03  0:36 ` ppluzhnikov at google dot com
  2015-03-03  2:03 ` amodra at gmail dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ppluzhnikov at google dot com @ 2015-03-03  0:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
Created attachment 34928
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34928&action=edit
c-reduce'd test case

A much shorter test:

const int __new_sys_siglist[] = {};

extern __typeof(__new_sys_siglist) _new_sys_siglist
    __attribute__((alias("__new_sys_siglist")));
extern __typeof(__new_sys_siglist) _sys_siglist
    __attribute__((alias("__new_sys_siglist")));


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

* [Bug c/65287] Current trunk ICE in address_matters_p, at symtab.c:1908
  2015-03-02 23:33 [Bug c/65287] New: Current trunk ICE in address_matters_p, at symtab.c:1908 ppluzhnikov at google dot com
  2015-03-03  0:36 ` [Bug c/65287] " ppluzhnikov at google dot com
@ 2015-03-03  2:03 ` amodra at gmail dot com
  2015-03-03  9:01 ` vekumar at gcc dot gnu.org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: amodra at gmail dot com @ 2015-03-03  2:03 UTC (permalink / raw)
  To: gcc-bugs

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-03-03
                 CC|                            |amodra at gmail dot com
     Ever confirmed|0                           |1

--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
Confirmed on both x86_64 and powerpc64-linux.


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

* [Bug c/65287] Current trunk ICE in address_matters_p, at symtab.c:1908
  2015-03-02 23:33 [Bug c/65287] New: Current trunk ICE in address_matters_p, at symtab.c:1908 ppluzhnikov at google dot com
  2015-03-03  0:36 ` [Bug c/65287] " ppluzhnikov at google dot com
  2015-03-03  2:03 ` amodra at gmail dot com
@ 2015-03-03  9:01 ` vekumar at gcc dot gnu.org
  2015-03-03  9:14 ` mpolacek at gcc dot gnu.org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: vekumar at gcc dot gnu.org @ 2015-03-03  9:01 UTC (permalink / raw)
  To: gcc-bugs

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

vekumar at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vekumar at gcc dot gnu.org

--- Comment #3 from vekumar at gcc dot gnu.org ---
Also faced this bug when I tired to cross compile for aarch64-none-linux-gnu


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

* [Bug c/65287] Current trunk ICE in address_matters_p, at symtab.c:1908
  2015-03-02 23:33 [Bug c/65287] New: Current trunk ICE in address_matters_p, at symtab.c:1908 ppluzhnikov at google dot com
                   ` (2 preceding siblings ...)
  2015-03-03  9:01 ` vekumar at gcc dot gnu.org
@ 2015-03-03  9:14 ` mpolacek at gcc dot gnu.org
  2015-03-03  9:17 ` [Bug ipa/65287] [5 Regression] " mpolacek at gcc dot gnu.org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-03-03  9:14 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
The testcase in Comment 1 started ICEing with r221099.


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

* [Bug ipa/65287] [5 Regression] Current trunk ICE in address_matters_p, at symtab.c:1908
  2015-03-02 23:33 [Bug c/65287] New: Current trunk ICE in address_matters_p, at symtab.c:1908 ppluzhnikov at google dot com
                   ` (3 preceding siblings ...)
  2015-03-03  9:14 ` mpolacek at gcc dot gnu.org
@ 2015-03-03  9:17 ` mpolacek at gcc dot gnu.org
  2015-03-03  9:45 ` marxin at gcc dot gnu.org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-03-03  9:17 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
            Version|unknown                     |5.0
   Target Milestone|---                         |5.0
            Summary|Current trunk ICE in        |[5 Regression] Current
                   |address_matters_p, at       |trunk ICE in
                   |symtab.c:1908               |address_matters_p, at
                   |                            |symtab.c:1908


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

* [Bug ipa/65287] [5 Regression] Current trunk ICE in address_matters_p, at symtab.c:1908
  2015-03-02 23:33 [Bug c/65287] New: Current trunk ICE in address_matters_p, at symtab.c:1908 ppluzhnikov at google dot com
                   ` (4 preceding siblings ...)
  2015-03-03  9:17 ` [Bug ipa/65287] [5 Regression] " mpolacek at gcc dot gnu.org
@ 2015-03-03  9:45 ` marxin at gcc dot gnu.org
  2015-03-03 12:47 ` Alex.Velenko at arm dot com
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: marxin at gcc dot gnu.org @ 2015-03-03  9:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 34935
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34935&action=edit
Suggested patch

Following patch skips all alias variables. This condition was part of my
initial version of patch:

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

I hope, as Honza rework the patch, this condition should be placed there.
>From gcc-bugs-return-479125-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 03 09:53:24 2015
Return-Path: <gcc-bugs-return-479125-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105138 invoked by alias); 3 Mar 2015 09:53:24 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 104868 invoked by uid 48); 3 Mar 2015 09:53:20 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/65288] [5 Regression] ICE (in address_matters_p, at symtab.c:1908) on powerpc64le-linux-gnu
Date: Tue, 03 Mar 2015 09:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-65288-4-odwy7avhKO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65288-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65288-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-03/txt/msg00269.txt.bz2
Content-length: 292

https://gcc.gnu.org/bugzilla/show_bug.cgi?ide288

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |5.0


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

* [Bug ipa/65287] [5 Regression] Current trunk ICE in address_matters_p, at symtab.c:1908
  2015-03-02 23:33 [Bug c/65287] New: Current trunk ICE in address_matters_p, at symtab.c:1908 ppluzhnikov at google dot com
                   ` (5 preceding siblings ...)
  2015-03-03  9:45 ` marxin at gcc dot gnu.org
@ 2015-03-03 12:47 ` Alex.Velenko at arm dot com
  2015-03-03 17:33 ` hubicka at gcc dot gnu.org
  2015-03-03 17:35 ` hubicka at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: Alex.Velenko at arm dot com @ 2015-03-03 12:47 UTC (permalink / raw)
  To: gcc-bugs

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

Alex Velenko <Alex.Velenko at arm dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Alex.Velenko at arm dot com

--- Comment #6 from Alex Velenko <Alex.Velenko at arm dot com> ---
I also confirm this issue for aarch64_be-none-linux-gnu,
aarch64_be-none-linux-gnu, arm-none-linux-gnueabihf and arm-none-linux-gnueabi


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

* [Bug ipa/65287] [5 Regression] Current trunk ICE in address_matters_p, at symtab.c:1908
  2015-03-02 23:33 [Bug c/65287] New: Current trunk ICE in address_matters_p, at symtab.c:1908 ppluzhnikov at google dot com
                   ` (6 preceding siblings ...)
  2015-03-03 12:47 ` Alex.Velenko at arm dot com
@ 2015-03-03 17:33 ` hubicka at gcc dot gnu.org
  2015-03-03 17:35 ` hubicka at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: hubicka at gcc dot gnu.org @ 2015-03-03 17:33 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Tue Mar  3 17:33:22 2015
New Revision: 221157

URL: https://gcc.gnu.org/viewcvs?rev=221157&root=gcc&view=rev
Log:

    PR ipa/65287
    * gcc.dg/ipa/pr65287.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/ipa/pr65287.c


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

* [Bug ipa/65287] [5 Regression] Current trunk ICE in address_matters_p, at symtab.c:1908
  2015-03-02 23:33 [Bug c/65287] New: Current trunk ICE in address_matters_p, at symtab.c:1908 ppluzhnikov at google dot com
                   ` (7 preceding siblings ...)
  2015-03-03 17:33 ` hubicka at gcc dot gnu.org
@ 2015-03-03 17:35 ` hubicka at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: hubicka at gcc dot gnu.org @ 2015-03-03 17:35 UTC (permalink / raw)
  To: gcc-bugs

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |hubicka at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #10 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Fixed.


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

end of thread, other threads:[~2015-03-03 17:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-02 23:33 [Bug c/65287] New: Current trunk ICE in address_matters_p, at symtab.c:1908 ppluzhnikov at google dot com
2015-03-03  0:36 ` [Bug c/65287] " ppluzhnikov at google dot com
2015-03-03  2:03 ` amodra at gmail dot com
2015-03-03  9:01 ` vekumar at gcc dot gnu.org
2015-03-03  9:14 ` mpolacek at gcc dot gnu.org
2015-03-03  9:17 ` [Bug ipa/65287] [5 Regression] " mpolacek at gcc dot gnu.org
2015-03-03  9:45 ` marxin at gcc dot gnu.org
2015-03-03 12:47 ` Alex.Velenko at arm dot com
2015-03-03 17:33 ` hubicka at gcc dot gnu.org
2015-03-03 17:35 ` hubicka 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).