https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78540
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Dec 7 23:00:40 2016 New Revision: 243413 URL: https://gcc.gnu.org/viewcvs?rev=243413&root=gcc&view=rev Log: Backported from mainline 2016-11-28 Jakub Jelinek <ja...@redhat.com> PR middle-end/78540 * rtl.h (remove_reg_equal_equiv_notes): Return bool instead of void. * rtlanal.c (remove_reg_equal_equiv_notes): Return true if any note has been removed. * postreload.c (reload_combine_recognize_pattern): If remove_reg_equal_equiv_notes returns true, call df_notes_rescan. * gcc.dg/pr78540.c: New test. Added: branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr78540.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/postreload.c branches/gcc-6-branch/gcc/rtl.h branches/gcc-6-branch/gcc/rtlanal.c branches/gcc-6-branch/gcc/testsuite/ChangeLog