OSDN Git Service

gcc/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Jul 2011 15:07:02 +0000 (15:07 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Jul 2011 15:07:02 +0000 (15:07 +0000)
* doc/invoke.texi (mwords-little-endian): Deprecate.
* config/arm/arm.opt (mwords-little-endian): Likewise.
* config/arm/arm.c (arm_option_override): Warn about the deprecation
of -mwords-little-endian.

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

gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/arm/arm.opt
gcc/doc/invoke.texi

index ea7c24b..1c481de 100644 (file)
@@ -1,5 +1,12 @@
 2011-07-07  Richard Sandiford  <richard.sandiford@linaro.org>
 
+       * doc/invoke.texi (mwords-little-endian): Deprecate.
+       * config/arm/arm.opt (mwords-little-endian): Likewise.
+       * config/arm/arm.c (arm_option_override): Warn about the deprecation
+       of -mwords-little-endian.
+
+2011-07-07  Richard Sandiford  <richard.sandiford@linaro.org>
+
        * reload1.c (choose_reload_regs): Use mode sizes to check whether
        an old reload register completely defines the required value.
 
index 0e371f3..d9763d2 100644 (file)
@@ -1479,6 +1479,10 @@ arm_option_override (void)
   if (TARGET_APCS_FLOAT)
     warning (0, "passing floating point arguments in fp regs not yet supported");
 
+  if (TARGET_LITTLE_WORDS)
+    warning (OPT_Wdeprecated, "%<mwords-little-endian%> is deprecated and "
+            "will be removed in a future release");
+
   /* Initialize boolean versions of the flags, for use in the arm.md file.  */
   arm_arch3m = (insn_flags & FL_ARCH3M) != 0;
   arm_arch4 = (insn_flags & FL_ARCH4) != 0;
index 48a5cb3..be5fd3c 100644 (file)
@@ -235,7 +235,7 @@ Tune code for the given processor
 
 mwords-little-endian
 Target Report RejectNegative Mask(LITTLE_WORDS)
-Assume big endian bytes, little endian words
+Assume big endian bytes, little endian words.  This option is deprecated.
 
 mvectorize-with-neon-quad
 Target Report Mask(NEON_VECTORIZE_QUAD)
index 0be0f4d..c8ec451 100644 (file)
@@ -10241,7 +10241,7 @@ Generate code for a little-endian word order but a big-endian byte
 order.  That is, a byte order of the form @samp{32107654}.  Note: this
 option should only be used if you require compatibility with code for
 big-endian ARM processors generated by versions of the compiler prior to
-2.8.
+2.8.  This option is now deprecated.
 
 @item -mcpu=@var{name}
 @opindex mcpu