Commit 12e88696 by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

regclass.c (init_reg_autoinc): Fix typo preventing test of secondary output reload when...

	* regclass.c (init_reg_autoinc): Fix typo preventing test of
	secondary output reload when setting forbidden_inc_dec_class.

From-SVN: r130333
parent 0df50e7a
2007-11-21 Hans-Peter Nilsson <hp@axis.com>
* regclass.c (init_reg_autoinc): Fix typo preventing test of
secondary output reload when setting forbidden_inc_dec_class.
2007-11-21 Richard Guenther <rguenther@suse.de>
PR tree-optimization/34148
......@@ -1282,7 +1282,7 @@ init_reg_autoinc (void)
requires secondary reloads, disallow its class from
being used in such addresses. */
if ((secondary_reload_class (1, base_class, m, r)
if ((secondary_reload_class (0, base_class, m, r)
|| secondary_reload_class (1, base_class, m, r))
&& ! auto_inc_dec_reg_p (r, m))
forbidden_inc_dec_class[i] = 1;
......
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