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
This commit is contained in:
parent
0df50e7a0c
commit
12e8869659
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue