[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

trippels at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 30 16:51:00 GMT 2016


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

--- Comment #8 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #7)
> Created attachment 40205 [details]
> gcc7-pr78614-2.patch
> 
> Perhaps better patch (if it works).  The previous patch would copy even
> rtxes that simplify_*rtx would copy again, while this one should hopefully
> just mark those non-shareable rtxes that are going to stay in PARALLEL as
> used and then at the end we would unshare only whatever remained shared at
> the end.
> It works on the provided testcase in the cross too.

Thanks. I didn't bootstrap with --enable-checking=yes,rtl yet, but
mplayer now builds fine (it would ICE very often before the patch).


More information about the Gcc-bugs mailing list