summaryrefslogtreecommitdiff
path: root/gcc/rtlanal.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-20 19:07:38 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-20 19:07:38 +0000
commit949bf6a9482a209dd9a42539200919731ead6ecd (patch)
treec035f492c2cf9c3595f0f8feb973fe5c43354ba9 /gcc/rtlanal.c
parent507c9a59eb1880f6841329cd963157ec59da8bd8 (diff)
downloadgcc-949bf6a9482a209dd9a42539200919731ead6ecd.tar.gz
gcc/
* rtlanal.c (subreg_offset_representable_p): Revert last change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139338 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtlanal.c')
-rw-r--r--gcc/rtlanal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c
index 6337156eacb..fb4a5df7dc8 100644
--- a/gcc/rtlanal.c
+++ b/gcc/rtlanal.c
@@ -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. */