https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70710
Aldy Hernandez <aldyh at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aldyh at gcc dot gnu.org Summary|[5/6/7 Regression] Compile |[5/6 Regression] Compile |time hog w/ -O -g |time hog w/ -O -g |-fpeel-loops |-fpeel-loops --- Comment #3 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- Fixed on trunk by r243662. Removing GCC7 regression marker. commit c94328179741e7bdcaf59e888db809681859c6c6 Author: jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Wed Dec 14 19:40:05 2016 +0000 PR debug/77844 * valtrack.c: Include rtl-iter.h. (struct rtx_subst_pair): Add insn field. (propagate_for_debug_subst): If pair->to contains at least 2 regs, create a DEBUG_INSN with a debug temp before pair->insn and replace from with the debug temp instead of pair->to. (propagate_for_debug): Initialize p.insn. * combine.c (insn_uid_check): New inline function. (INSN_COST, LOG_LINKS): Use it instead of INSN_UID. (find_single_use, combine_instructions, cant_combine_insn_p, try_combine): Use NONDEBUG_INSN_P instead of INSN_P. * g++.dg/opt/pr77844.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@243662 138bc75d-0d04-0410-961f-82ee72b054a4