https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80102
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Mon Mar 27 21:00:35 2017 New Revision: 246511 URL: https://gcc.gnu.org/viewcvs?rev=246511&root=gcc&view=rev Log: PR target/80102 * reg-notes.def (REG_CFA_NOTE): Define. Use it for CFA related notes. * cfgcleanup.c (reg_note_cfa_p): New array. (insns_have_identical_cfa_notes): New function. (old_insns_match_p): Don't cross-jump in between /f and non-/f instructions. If both i1 and i2 are frame related, verify all CFA notes, their order and content. * g++.dg/opt/pr80102.C: New test. Added: trunk/gcc/testsuite/g++.dg/opt/pr80102.C Modified: trunk/gcc/ChangeLog trunk/gcc/cfgcleanup.c trunk/gcc/reg-notes.def trunk/gcc/testsuite/ChangeLog