[Bug target/78642] [7 regression] ICE: invalid rtl sharing found in the insn on sparc

2016-12-05 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78642 Eric Botcazou changed: What|Removed |Added Attachment #40258|0 |1 is obsolete|

[Bug target/78642] [7 regression] ICE: invalid rtl sharing found in the insn on sparc

2016-12-05 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78642 --- Comment #13 from Eric Botcazou --- Created attachment 40258 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40258&action=edit Tentative fix

[Bug target/78642] [7 regression] ICE: invalid rtl sharing found in the insn on sparc

2016-12-05 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78642 --- Comment #12 from Eric Botcazou --- > But verify_rtx_sharing also has: > > case CLOBBER: > /* Share clobbers of hard registers (like cc0), but do not share > pseudo reg > clobbers or clobbers of hard registers that originat

[Bug target/78642] [7 regression] ICE: invalid rtl sharing found in the insn on sparc

2016-12-05 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78642 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug target/78642] [7 regression] ICE: invalid rtl sharing found in the insn on sparc

2016-12-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78642 --- Comment #11 from Jakub Jelinek --- But verify_rtx_sharing also has: case CLOBBER: /* Share clobbers of hard registers (like cc0), but do not share pseudo reg clobbers or clobbers of hard registers that originated as pseudo

[Bug target/78642] [7 regression] ICE: invalid rtl sharing found in the insn on sparc

2016-12-05 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78642 --- Comment #10 from Eric Botcazou --- It's copy_insn_1: case CLOBBER: /* Share clobbers of hard registers (like cc0), but do not share pseudo reg clobbers or clobbers of hard registers that originated as pseudos. Thi

[Bug target/78642] [7 regression] ICE: invalid rtl sharing found in the insn on sparc

2016-12-05 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78642 --- Comment #9 from Eric Botcazou --- It's apparently the bbro pass. Fixing.

[Bug target/78642] [7 regression] ICE: invalid rtl sharing found in the insn on sparc

2016-12-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78642 --- Comment #8 from Jakub Jelinek --- So in what other insn does the clobber appear and which pass introduced it? Easiest is to b error run then notice the address passed to verify_rtx_sharing and put a breakpoint on verify_rtx_sharing conditiona

[Bug target/78642] [7 regression] ICE: invalid rtl sharing found in the insn on sparc

2016-12-05 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78642 Eric Botcazou changed: What|Removed |Added Status|WAITING |NEW --- Comment #7 from Eric Botcazou -

[Bug target/78642] [7 regression] ICE: invalid rtl sharing found in the insn on sparc

2016-12-05 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78642 --- Comment #6 from Eric Botcazou --- I cannot reproduce on native and valgrind doesn't complain. Can you attach the first RTL dump which contains the problematic insn? (insn 196 94 197 (clobber (reg/i:SI 8 %o0 [24]))

[Bug target/78642] [7 regression] ICE: invalid rtl sharing found in the insn on sparc

2016-12-04 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78642 --- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #4 from Eric Botcazou --- >> Is your compiler configured with --enable-checking=rtl ? > > Yes, but I don't think Rainer's is. not explicitly: I have S["stage1_checking"]=

[Bug target/78642] [7 regression] ICE: invalid rtl sharing found in the insn on sparc

2016-12-02 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78642 --- Comment #4 from Eric Botcazou --- > Is your compiler configured with --enable-checking=rtl ? Yes, but I don't think Rainer's is. > Perhaps it can be only reproduced natively, or relies on particular > auto-host.h content (I don't have cross

[Bug target/78642] [7 regression] ICE: invalid rtl sharing found in the insn on sparc

2016-12-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78642 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug target/78642] [7 regression] ICE: invalid rtl sharing found in the insn on sparc

2016-12-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78642 --- Comment #2 from Jakub Jelinek --- Can't reproduce in a cross-compiler, I also see (clobber (reg/i:SI 8 %o0 [24])) just once in the IL. That said, rtl sharing verification has been mistakenly not performed even with --enable-checking=rtl duri

[Bug target/78642] [7 regression] ICE: invalid rtl sharing found in the insn on sparc

2016-12-02 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78642 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug target/78642] [7 regression] ICE: invalid rtl sharing found in the insn on sparc

2016-12-02 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78642 Rainer Orth changed: What|Removed |Added Target Milestone|--- |7.0