Commit 64615302 by Jan Hubicka Committed by Jan Hubicka

regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing compilation.

	* regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
	compilation.

From-SVN: r31209
parent 7f103e88
Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
* regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
compilation.
2000-01-04 Stan Cox <scox@cygnus.com> 2000-01-04 Stan Cox <scox@cygnus.com>
* haifa-sched.c (build_control_flow): Change unreachable simple * haifa-sched.c (build_control_flow): Change unreachable simple
......
...@@ -1141,7 +1141,9 @@ regclass (f, nregs, dump) ...@@ -1141,7 +1141,9 @@ regclass (f, nregs, dump)
register int class; register int class;
register struct costs *p = &costs[i]; register struct costs *p = &costs[i];
if (!REG_N_REFS (i)) /* In non-optimizing compilation REG_N_REFS is not initialized
yet. */
if (optimize && !REG_N_REFS (i))
continue; continue;
for (class = (int) ALL_REGS - 1; class > 0; class--) for (class = (int) ALL_REGS - 1; class > 0; class--)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment