public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/63566] New: [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326
@ 2014-10-16 22:17 mliska at suse dot cz
  2014-10-16 22:22 ` [Bug ipa/63566] " mliska at suse dot cz
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: mliska at suse dot cz @ 2014-10-16 22:17 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 63566
           Summary: [5 Regression] i686 bootstrap fails: ICE RTL flag
                    check: INSN_UID used with unexpected rtx code 'set' in
                    INSN_UID, at rtl.h:1326
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mliska at suse dot cz

After introduction of IPA ICF in r216305, i686 fails to bootstrap.
I reduced IPA ICF to just merge a single function:
Semantic equality hit:void mark_oprs_set(rtx_insn*)->void
make_set_regs_unavailable(rtx_insn*).

With this change applied, stage2 compiler is miscompiled and following error
occurs:
../../../libgcc/config/libbid/bid_round.c: In function ‘__bid_round64_2_18’:
../../../libgcc/config/libbid/bid_round.c:210:1: internal compiler error: RTL
flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at
rtl.h:1326

Comparison of object files (compiled with stage1 compiler with and w/o
-fipa-icf) show following difference:

With IPA ICF (cprop.o):
contains .set
_ZL25make_set_regs_unavailableP8rtx_insn,_ZL13mark_oprs_setP8rtx_insn

and the only difference is in usage of the function (IPA ICF):
.L633:
    subl    $12, %esp
    .cfi_def_cfa_offset 108
    pushl    %ebx
    .cfi_def_cfa_offset 112
    call    _ZL25make_set_regs_unavailableP8rtx_insn
    movzwl    (%ebx), %edx
    addl    $16, %esp
    .cfi_def_cfa_offset 96
    cmpb    $0, rtx_length(%edx)
    jne    .L643

while original usage (-fno-ipa-icf) contains:
.L644:
    movl    %ebx, %eax
    call    _ZL25make_set_regs_unavailableP8rtx_insn
    movzwl    (%ebx), %edx
    cmpb    $0, rtx_length(%edx)
    jne    .L654

I am not familiar with x86 calling conventions for aliases, but I suspect this
chunk of code.

Does anyone can see a problem in this chunk?
Thank you for help,
Martin
>From gcc-bugs-return-464291-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 16 22:19:28 2014
Return-Path: <gcc-bugs-return-464291-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6801 invoked by alias); 16 Oct 2014 22:19:28 -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 6780 invoked by uid 48); 16 Oct 2014 22:19:24 -0000
From: "mliska at suse dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/63566] [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326
Date: Thu, 16 Oct 2014 22:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ipa
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mliska at suse dot cz
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-63566-4-GoM9gK6hjF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63566-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63566-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-10/txt/msg01312.txt.bz2
Content-length: 279

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

--- Comment #1 from Martin Liška <mliska at suse dot cz> ---
Created attachment 33738
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33738&action=edit
Patch that enables just a single function merge operation.
>From gcc-bugs-return-464292-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 16 22:20:11 2014
Return-Path: <gcc-bugs-return-464292-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7652 invoked by alias); 16 Oct 2014 22:20:10 -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 7583 invoked by uid 48); 16 Oct 2014 22:20:07 -0000
From: "iains at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/63534] [5 Regression] Bootstrap failure on x86_64/i686-linux
Date: Thu, 16 Oct 2014 22:20: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, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: iains at gcc dot gnu.org
X-Bugzilla-Status: NEW
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:
Message-ID: <bug-63534-4-7aY3iJ7ouN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63534-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63534-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: 2014-10/txt/msg01313.txt.bz2
Content-length: 983

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

--- Comment #22 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Iain Sandoe from comment #17)
> (In reply to Dominique d'Humieres from comment #16)
> > > Created attachment 33733 [details]
> > > patch to fix darwin bootstrap
> > >
> > > With pseudo GOT register we don't need to set GOT register after any jump,
> > > and therefore don't need "nonlocal_goto_receiver" and "builtin_setjmp_receiver"
> > > for i386.
> > >
> > > Please try attached patch (just removing "nonlocal_goto_receiver" and
> > > "builtin_setjmp_receiver" from i386.md).
> >
> > With the patch bootstrap fails with
>
> > ld: illegal text reloc in 'std::strstream::strstream()' to 'construction
> > vtable for std::basic_ostream<char, std::char_traits<char>
> > >-in-std::strstream' for architecture x86_64
> > collect2: error: ld returned 1 exit status

This fail above ^ is caused by r216305 (which seems to be being investigated
elsewhere)


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

* [Bug ipa/63566] [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326
  2014-10-16 22:17 [Bug ipa/63566] New: [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326 mliska at suse dot cz
@ 2014-10-16 22:22 ` mliska at suse dot cz
  2014-10-17  9:41 ` trippels at gcc dot gnu.org
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: mliska at suse dot cz @ 2014-10-16 22:22 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Martin Liška <mliska at suse dot cz> ---
Created attachment 33740
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33740&action=edit
object file created w/ IPA ICF
>From gcc-bugs-return-464293-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 16 22:22:03 2014
Return-Path: <gcc-bugs-return-464293-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8887 invoked by alias); 16 Oct 2014 22:22:02 -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 8853 invoked by uid 48); 16 Oct 2014 22:21:59 -0000
From: "mliska at suse dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/63566] [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326
Date: Thu, 16 Oct 2014 22:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ipa
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mliska at suse dot cz
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-63566-4-jqBNoC3oSh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63566-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63566-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-10/txt/msg01314.txt.bz2
Content-length: 252

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

--- Comment #2 from Martin Liška <mliska at suse dot cz> ---
Created attachment 33739
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33739&action=edit
object file created w/o IPA ICF
>From gcc-bugs-return-464295-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 16 22:27:08 2014
Return-Path: <gcc-bugs-return-464295-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13268 invoked by alias); 16 Oct 2014 22:27:08 -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 13214 invoked by uid 48); 16 Oct 2014 22:27:04 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/63566] [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326
Date: Thu, 16 Oct 2014 22:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ipa
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-63566-4-7uO230kR6T@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63566-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63566-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: 2014-10/txt/msg01316.txt.bz2
Content-length: 1052

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-10-16
                 CC|                            |hubicka at gcc dot gnu.org,
                   |                            |jakub at gcc dot gnu.org,
                   |                            |uros at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
config/i386/i386.c (ix86_function_regparm) and ix86_function_sseregparm too
(which apparently has an issue that it hasn't been adjusted for opt_for_fn)
can adjust the i386 calling conventions from normal to regparm something.
Perhaps that needs to be adjusted, so that if you call a local function through
an alias, the same calling convention is used as well.


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

* [Bug ipa/63566] [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326
  2014-10-16 22:17 [Bug ipa/63566] New: [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326 mliska at suse dot cz
  2014-10-16 22:22 ` [Bug ipa/63566] " mliska at suse dot cz
@ 2014-10-17  9:41 ` trippels at gcc dot gnu.org
  2014-11-18 14:57 ` jakub at gcc dot gnu.org
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-10-17  9:41 UTC (permalink / raw)
  To: gcc-bugs

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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

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

--- Comment #6 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
*** Bug 63562 has been marked as a duplicate of this bug. ***


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

* [Bug ipa/63566] [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326
  2014-10-16 22:17 [Bug ipa/63566] New: [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326 mliska at suse dot cz
  2014-10-16 22:22 ` [Bug ipa/63566] " mliska at suse dot cz
  2014-10-17  9:41 ` trippels at gcc dot gnu.org
@ 2014-11-18 14:57 ` jakub at gcc dot gnu.org
  2014-11-20 12:26 ` rguenth at gcc dot gnu.org
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-11-18 14:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
https://gcc.gnu.org/viewcvs?rev=216386&root=gcc&view=rev worked around this,
Martin, are you going to work on the right fix (so that both functions can use
local regparm ABI in this case)?


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

* [Bug ipa/63566] [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326
  2014-10-16 22:17 [Bug ipa/63566] New: [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326 mliska at suse dot cz
                   ` (2 preceding siblings ...)
  2014-11-18 14:57 ` jakub at gcc dot gnu.org
@ 2014-11-20 12:26 ` rguenth at gcc dot gnu.org
  2015-01-26 15:05 ` jakub at gcc dot gnu.org
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-20 12:26 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
           Priority|P3                          |P1


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

* [Bug ipa/63566] [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326
  2014-10-16 22:17 [Bug ipa/63566] New: [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326 mliska at suse dot cz
                   ` (3 preceding siblings ...)
  2014-11-20 12:26 ` rguenth at gcc dot gnu.org
@ 2015-01-26 15:05 ` jakub at gcc dot gnu.org
  2015-02-02 18:07 ` hubicka at gcc dot gnu.org
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-26 15:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Honza/Martin, any progress on this?


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

* [Bug ipa/63566] [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326
  2014-10-16 22:17 [Bug ipa/63566] New: [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326 mliska at suse dot cz
                   ` (4 preceding siblings ...)
  2015-01-26 15:05 ` jakub at gcc dot gnu.org
@ 2015-02-02 18:07 ` hubicka at gcc dot gnu.org
  2015-02-08 20:09 ` hubicka at gcc dot gnu.org
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: hubicka at gcc dot gnu.org @ 2015-02-02 18:07 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|marxin at gcc dot gnu.org          |hubicka at gcc dot gnu.org

--- Comment #9 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
OK, I will take a look this week.  Though I see no reason why this is still P1.
Not performing local call conventions to aliases is very minor missed
optimization case.


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

* [Bug ipa/63566] [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326
  2014-10-16 22:17 [Bug ipa/63566] New: [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326 mliska at suse dot cz
                   ` (5 preceding siblings ...)
  2015-02-02 18:07 ` hubicka at gcc dot gnu.org
@ 2015-02-08 20:09 ` hubicka at gcc dot gnu.org
  2015-02-08 20:13 ` hubicka at gcc dot gnu.org
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: hubicka at gcc dot gnu.org @ 2015-02-08 20:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Sun Feb  8 20:08:21 2015
New Revision: 220518

URL: https://gcc.gnu.org/viewcvs?rev=220518&root=gcc&view=rev
Log:
    PR ipa/63566 
    * cgraphunit.c (cgraph_node::analyze): Be sure target of thunk is
    aliases before trying to expand it.
    (cgraph_node::expand_thunk): Fix formating.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraphunit.c


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

* [Bug ipa/63566] [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326
  2014-10-16 22:17 [Bug ipa/63566] New: [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326 mliska at suse dot cz
                   ` (6 preceding siblings ...)
  2015-02-08 20:09 ` hubicka at gcc dot gnu.org
@ 2015-02-08 20:13 ` hubicka at gcc dot gnu.org
  2015-02-08 21:05 ` hubicka at gcc dot gnu.org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: hubicka at gcc dot gnu.org @ 2015-02-08 20:13 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #11 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Sun Feb  8 20:13:01 2015
New Revision: 220519

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

    PR ipa/63566 
    * ipa-split.c (execute_split_functions): Split if function has aliases.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-split.c


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

* [Bug ipa/63566] [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326
  2014-10-16 22:17 [Bug ipa/63566] New: [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326 mliska at suse dot cz
                   ` (7 preceding siblings ...)
  2015-02-08 20:13 ` hubicka at gcc dot gnu.org
@ 2015-02-08 21:05 ` hubicka at gcc dot gnu.org
  2015-02-08 21:09 ` hubicka at gcc dot gnu.org
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: hubicka at gcc dot gnu.org @ 2015-02-08 21:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Sun Feb  8 21:04:41 2015
New Revision: 220520

URL: https://gcc.gnu.org/viewcvs?rev=220520&root=gcc&view=rev
Log:
    PR ipa/63566 
    * i386.c (ix86_function_regparm): Look through aliases to see if callee
    is local and optimized.
    (ix86_function_sseregparm): Likewise; also use target's SSE math
    settings; error out instead of silently generating wrong code
    on mismatches.
    (init_cumulative_args): Look through aliases.

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


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

* [Bug ipa/63566] [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326
  2014-10-16 22:17 [Bug ipa/63566] New: [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326 mliska at suse dot cz
                   ` (8 preceding siblings ...)
  2015-02-08 21:05 ` hubicka at gcc dot gnu.org
@ 2015-02-08 21:09 ` hubicka at gcc dot gnu.org
  2015-02-09  8:14 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: hubicka at gcc dot gnu.org @ 2015-02-08 21:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #13 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Sun Feb  8 21:08:44 2015
New Revision: 220521

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

    PR ipa/63566 
    * ipa-visibility.c (cgraph_node::non_local_p): Accept aliases.
    (cgraph_node::local_p): Remove thunk related FIXME.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-visibility.c


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

* [Bug ipa/63566] [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326
  2014-10-16 22:17 [Bug ipa/63566] New: [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326 mliska at suse dot cz
                   ` (9 preceding siblings ...)
  2015-02-08 21:09 ` hubicka at gcc dot gnu.org
@ 2015-02-09  8:14 ` jakub at gcc dot gnu.org
  2015-02-09 20:45 ` hubicka at gcc dot gnu.org
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-02-09  8:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Even with all the committed patches I don't see any change on the #c5 testcase,
which in 4.9 used regparm(3) calling convention e.g. for f1 and f2, but with
current trunk still uses regparm(0).


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

* [Bug ipa/63566] [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326
  2014-10-16 22:17 [Bug ipa/63566] New: [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326 mliska at suse dot cz
                   ` (10 preceding siblings ...)
  2015-02-09  8:14 ` jakub at gcc dot gnu.org
@ 2015-02-09 20:45 ` hubicka at gcc dot gnu.org
  2015-02-09 20:48 ` hubicka at gcc dot gnu.org
  2015-02-09 21:58 ` jakub at gcc dot gnu.org
  13 siblings, 0 replies; 15+ messages in thread
From: hubicka at gcc dot gnu.org @ 2015-02-09 20:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #15 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Mon Feb  9 20:45:04 2015
New Revision: 220548

URL: https://gcc.gnu.org/viewcvs?rev=220548&root=gcc&view=rev
Log:
    PR ipa/63566 
    * ipa-icf.c (set_local): New function.
    (sem_function::merge): Use it.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-icf.c


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

* [Bug ipa/63566] [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326
  2014-10-16 22:17 [Bug ipa/63566] New: [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326 mliska at suse dot cz
                   ` (11 preceding siblings ...)
  2015-02-09 20:45 ` hubicka at gcc dot gnu.org
@ 2015-02-09 20:48 ` hubicka at gcc dot gnu.org
  2015-02-09 21:58 ` jakub at gcc dot gnu.org
  13 siblings, 0 replies; 15+ messages in thread
From: hubicka at gcc dot gnu.org @ 2015-02-09 20:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #16 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
It is because I forgot to commit last part of series disabling the ipa-icf
workaround :)  It should work well now.  Shall we keep the bug open (and
downgrade prioirty) for the debug issues?


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

* [Bug ipa/63566] [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326
  2014-10-16 22:17 [Bug ipa/63566] New: [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326 mliska at suse dot cz
                   ` (12 preceding siblings ...)
  2015-02-09 20:48 ` hubicka at gcc dot gnu.org
@ 2015-02-09 21:58 ` jakub at gcc dot gnu.org
  13 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-02-09 21:58 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Debug issues are tracked in another PR.


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

end of thread, other threads:[~2015-02-09 21:58 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-16 22:17 [Bug ipa/63566] New: [5 Regression] i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326 mliska at suse dot cz
2014-10-16 22:22 ` [Bug ipa/63566] " mliska at suse dot cz
2014-10-17  9:41 ` trippels at gcc dot gnu.org
2014-11-18 14:57 ` jakub at gcc dot gnu.org
2014-11-20 12:26 ` rguenth at gcc dot gnu.org
2015-01-26 15:05 ` jakub at gcc dot gnu.org
2015-02-02 18:07 ` hubicka at gcc dot gnu.org
2015-02-08 20:09 ` hubicka at gcc dot gnu.org
2015-02-08 20:13 ` hubicka at gcc dot gnu.org
2015-02-08 21:05 ` hubicka at gcc dot gnu.org
2015-02-08 21:09 ` hubicka at gcc dot gnu.org
2015-02-09  8:14 ` jakub at gcc dot gnu.org
2015-02-09 20:45 ` hubicka at gcc dot gnu.org
2015-02-09 20:48 ` hubicka at gcc dot gnu.org
2015-02-09 21:58 ` 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).