]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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 207318240101d7950f96dbbebe23a83f7c5b70d2..e2504810066c5e465f5cef7985b0df0d22db6c7b 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 0d23e5661052d05a5e0ff77da47ea5675bdfa4a8..d38bba8a63df8fa1b2bd644c1fba866c5f2eda88 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