* explow.c (convert_memory_address): Add gcc_assert.

From-SVN: r98881
This commit is contained in:
Steve Ellcey 2005-04-27 20:38:35 +00:00 committed by Steve Ellcey
parent 380e5ca402
commit 7c13793190
2 changed files with 5 additions and 0 deletions

View file

@ -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.

View file

@ -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;