rtlanal.c (subreg_offset_representable_p): Revert last change.

gcc/
	* rtlanal.c (subreg_offset_representable_p): Revert last change.

From-SVN: r139338
This commit is contained in:
Richard Sandiford 2008-08-20 19:07:38 +00:00 committed by Richard Sandiford
parent 0e03ef471e
commit 05cee290af
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2008-08-20 Richard Sandiford <rdsandiford@googlemail.com>
* rtlanal.c (subreg_offset_representable_p): Revert last change.
2008-08-20 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR 35701

View File

@ -3241,8 +3241,7 @@ subreg_offset_representable_p (unsigned int xregno, enum machine_mode xmode,
{
struct subreg_info info;
subreg_get_info (xregno, xmode, offset, ymode, &info);
return (info.representable_p
&& HARD_REGNO_MODE_OK (xregno + info.offset, ymode));
return info.representable_p;
}
/* Return the final regno that a subreg expression refers to. */