aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@linaro.org>2011-07-07 15:07:02 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2011-07-07 15:07:02 +0000
commit38460025c713531cce0af5106cf9a6dcd1ec3d5d (patch)
treeb0c380ac083474cda9b9a105fd447c87b44b1246
parent3f125532e6f26606080d77738c0a385a20733a39 (diff)
downloadgcc-38460025c713531cce0af5106cf9a6dcd1ec3d5d.zip
gcc-38460025c713531cce0af5106cf9a6dcd1ec3d5d.tar.gz
gcc-38460025c713531cce0af5106cf9a6dcd1ec3d5d.tar.bz2
invoke.texi (mwords-little-endian): Deprecate.
gcc/ * 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. From-SVN: r175981
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/arm/arm.c4
-rw-r--r--gcc/config/arm/arm.opt2
-rw-r--r--gcc/doc/invoke.texi2
4 files changed, 13 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ea7c24b..1c481de 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index 0e371f3..d9763d2 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -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;
diff --git a/gcc/config/arm/arm.opt b/gcc/config/arm/arm.opt
index 48a5cb3..be5fd3c 100644
--- a/gcc/config/arm/arm.opt
+++ b/gcc/config/arm/arm.opt
@@ -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)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 0be0f4d..c8ec451 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -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