https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80429
--- Comment #2 from Segher Boessenkool <segher at gcc dot gnu.org> --- Author: segher Date: Wed Apr 19 10:03:35 2017 New Revision: 246991 URL: https://gcc.gnu.org/viewcvs?rev=246991&root=gcc&view=rev Log: IRA: Don't create new regs for debug insns (PR80429) In split_live_ranges_for_shrink_wrap IRA also splits regs that are only used in debug insns, leading to -fcompare-debug failures. PR rtl-optimization/80429 * ira.c (split_live_ranges_for_shrink_wrap): Don't split regs that are only used in debug insns. Modified: trunk/gcc/ChangeLog trunk/gcc/ira.c