On Wed, Nov 30, 2016 at 11:27:40PM +0100, Jakub Jelinek wrote: > As mentioned in the PR, the rs6000_frame_related rewrite broke rtl sharing > whose --enable-checking=rtl verification has been broken for the last 3.5 > years until today.
Great eh! I am very scared. > Markus said he has bootstrapped this patch with rtl checking on powerpc64. > > Ok for trunk? Yes please. Thanks, Segher > 2016-11-30 Jakub Jelinek <ja...@redhat.com> > > PR target/78614 > * config/rs6000/rs6000.c (rs6000_frame_related): Call > set_used_flags (pat) before any simplifications. Clear used flag on > PARALLEL copy. Don't guard add_reg_note call. Call > copy_rtx_if_shared on pat before storing it into > REG_FRAME_RELATED_EXPR.