diff options
author | Steve Ellcey <sje@cup.hp.com> | 2005-04-27 20:38:35 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2005-04-27 20:38:35 +0000 |
commit | 7c13793190326e5a8e3a014546c76e70e6fb227a (patch) | |
tree | cfbc4abbec89b4c9ca232ede65c97b54183a9960 /gcc/explow.c | |
parent | 380e5ca402e4dc6441a903de5ff88593f92f71d7 (diff) | |
download | gcc-7c13793190326e5a8e3a014546c76e70e6fb227a.tar.gz |
* explow.c (convert_memory_address): Add gcc_assert.
From-SVN: r98881
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 6a406901e34..fed0872d406 100644 --- a/gcc/explow.c +++ b/gcc/explow.c @@ -313,6 +313,7 @@ convert_memory_address (enum machine_mode to_mode ATTRIBUTE_UNUSED, rtx x) { #ifndef POINTERS_EXTEND_UNSIGNED + gcc_assert (GET_MODE (x) == to_mode || GET_MODE (x) == VOIDmode); return x; #else /* defined(POINTERS_EXTEND_UNSIGNED) */ enum machine_mode from_mode; |