diff options
author | Joseph Myers <joseph@codesourcery.com> | 2008-02-23 21:11:25 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2008-02-23 21:11:25 +0000 |
commit | 03d4f10689837f8b7998f614921295d308e41a52 (patch) | |
tree | 17df72249ed148400480cfea079a11fd0ec3d97c /gcc/explow.c | |
parent | 1d2001995b29ce10a1b61a1b0d0989704c4f7ce7 (diff) | |
download | gcc-03d4f10689837f8b7998f614921295d308e41a52.tar.gz |
explow.c (memory_address): Assert that the generated address is valid.
* explow.c (memory_address): Assert that the generated address is
valid.
From-SVN: r132578
Diffstat (limited to 'gcc/explow.c')
-rw-r--r-- | gcc/explow.c | 1 |
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) |