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.

Reply via email to