projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
380e5ca
)
* explow.c (convert_memory_address): Add gcc_assert.
author
Steve Ellcey
<sje@cup.hp.com>
Wed, 27 Apr 2005 20:38:35 +0000
(20:38 +0000)
committer
Steve Ellcey
<sje@gcc.gnu.org>
Wed, 27 Apr 2005 20:38:35 +0000
(20:38 +0000)
From-SVN: r98881
gcc/ChangeLog
patch
|
blob
|
history
gcc/explow.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index c02765c856b0111398a5510e1e860b2e9a18c9b8..fddb25fa39ff93e68fea73828381d5885f1e44de 100644
(file)
--- 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 6a406901e34b552e3a11a3adb08073d9dc431b5f..fed0872d4065580106f01ff49f44e94d1d5ce90c 100644
(file)
--- 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;