https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88751
--- Comment #6 from Andreas Krebbel <krebbel at gcc dot gnu.org> --- Author: krebbel Date: Thu Jun 6 11:35:04 2019 New Revision: 271996 URL: https://gcc.gnu.org/viewcvs?rev=271996&root=gcc&view=rev Log: Fix PR88751 This patch implements a small improvement for the heuristic in lra which decides when it has to activate the simpler register allocation algorithm. gcc/ChangeLog: 2019-06-06 Andreas Krebbel <kreb...@linux.ibm.com> PR rtl-optimization/88751 * ira.c (ira): Use the number of the actually referenced registers when calculating the threshold. Modified: trunk/gcc/ChangeLog trunk/gcc/ira.c