diff options
| author | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-27 20:38:35 +0000 |
|---|---|---|
| committer | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-27 20:38:35 +0000 |
| commit | 42f5572e240ce2c9cdf4e798fe24cc7771ba3a96 (patch) | |
| tree | cfbc4abbec89b4c9ca232ede65c97b54183a9960 | |
| parent | b6bcc48fcdb890eb96a8404646af9502fe1398e8 (diff) | |
| download | ppe42-gcc-42f5572e240ce2c9cdf4e798fe24cc7771ba3a96.tar.gz ppe42-gcc-42f5572e240ce2c9cdf4e798fe24cc7771ba3a96.zip | |
* explow.c (convert_memory_address): Add gcc_assert.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98881 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/explow.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c02765c856b..fddb25fa39f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2005-04-27 Steve Ellcey <sje@cup.hp.com> + + * explow.c (convert_memory_address): Add gcc_assert. + 2005-04-27 Mark Mitchell <mark@codesourcery.com> * configure.ac: Check for ld --sysroot support. 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; |

