From: Richard Sandiford Date: Sun, 16 Sep 2007 09:23:31 +0000 (+0000) Subject: mips.h (POINTERS_EXTEND_UNSIGNED): Define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0dc3178264d389a4b65b9b9def5e7ff308ac086c;p=gcc.git mips.h (POINTERS_EXTEND_UNSIGNED): Define. gcc/ * config/mips/mips.h (POINTERS_EXTEND_UNSIGNED): Define. From-SVN: r128524 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 20731824010..e2504810066 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2007-09-16 Richard Sandiford + + * config/mips/mips.h (POINTERS_EXTEND_UNSIGNED): Define. + 2007-09-15 Zdenek Dvorak * tree-parloops.c: New file. diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 0d23e566105..d38bba8a63d 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -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