[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 30 17:03:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 40206
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40206&action=edit
gcc7-pr78614-3.patch
The better patch actually doesn't seem to be much better, because
simplify_replace_fn when it copies something (rather than successfully
simplifies) doesn't clear the used bits and thus copy_rtx_if_shared afterwards
will copy it again. But together with this simplify-rtx.c change it might work
better. Will bootstrap/regtest that on x86_64-linux/i686-linux now.
More information about the Gcc-bugs
mailing list