Commit 7c137931 by Steve Ellcey Committed by Steve Ellcey

* explow.c (convert_memory_address): Add gcc_assert.

From-SVN: r98881
parent 380e5ca4
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> 2005-04-27 Mark Mitchell <mark@codesourcery.com>
* configure.ac: Check for ld --sysroot support. * configure.ac: Check for ld --sysroot support.
......
...@@ -313,6 +313,7 @@ convert_memory_address (enum machine_mode to_mode ATTRIBUTE_UNUSED, ...@@ -313,6 +313,7 @@ convert_memory_address (enum machine_mode to_mode ATTRIBUTE_UNUSED,
rtx x) rtx x)
{ {
#ifndef POINTERS_EXTEND_UNSIGNED #ifndef POINTERS_EXTEND_UNSIGNED
gcc_assert (GET_MODE (x) == to_mode || GET_MODE (x) == VOIDmode);
return x; return x;
#else /* defined(POINTERS_EXTEND_UNSIGNED) */ #else /* defined(POINTERS_EXTEND_UNSIGNED) */
enum machine_mode from_mode; enum machine_mode from_mode;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment