summaryrefslogtreecommitdiff
path: root/gcc/explow.c
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2008-02-23 21:11:25 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2008-02-23 21:11:25 +0000
commit64ec1b6151b72511c3511f5a9d7552663bc0fb73 (patch)
tree17df72249ed148400480cfea079a11fd0ec3d97c /gcc/explow.c
parentd105d542012cd5426d1ad6b386d3dee051dc9137 (diff)
downloadgcc-64ec1b6151b72511c3511f5a9d7552663bc0fb73.tar.gz
* explow.c (memory_address): Assert that the generated address is
valid. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132578 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/explow.c')
-rw-r--r--gcc/explow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/explow.c b/gcc/explow.c
index a5ed65b2e56..612fb1bb5db 100644
--- a/gcc/explow.c
+++ b/gcc/explow.c
@@ -489,6 +489,7 @@ memory_address (enum machine_mode mode, rtx x)
done:
+ gcc_assert (memory_address_p (mode, x));
/* If we didn't change the address, we are done. Otherwise, mark
a reg as a pointer if we have REG or REG + CONST_INT. */
if (oldx == x)