Commit 42f5572e authored by sje's avatar sje
Browse files

* 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
parent b6bcc48f
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.
......
......@@ -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;
......
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