diff options
Diffstat (limited to 'gcc')
-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 c02765c..fddb25f 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 6a40690..fed0872 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; |