OSDN Git Service

gcc/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 Sep 2007 09:23:31 +0000 (09:23 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 Sep 2007 09:23:31 +0000 (09:23 +0000)
* config/mips/mips.h (POINTERS_EXTEND_UNSIGNED): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128524 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/mips/mips.h

index 2073182..e250481 100644 (file)
@@ -1,3 +1,7 @@
+2007-09-16  Richard Sandiford  <rsandifo@nildram.co.uk>
+
+       * config/mips/mips.h (POINTERS_EXTEND_UNSIGNED): Define.
+
 2007-09-15  Zdenek Dvorak  <ook@ucw.cz>
 
        * tree-parloops.c: New file.
index 0d23e56..d38bba8 100644 (file)
@@ -1350,6 +1350,10 @@ extern enum mips_llsc_setting mips_llsc;
       (MODE) = Pmode;                           \
     }
 
+/* Pmode is always the same as ptr_mode, but not always the same as word_mode.
+   Extensions of pointers to word_mode must be signed.  */
+#define POINTERS_EXTEND_UNSIGNED false
+
 /* Define if loading short immediate values into registers sign extends.  */
 #define SHORT_IMMEDIATES_SIGN_EXTEND