Commit 38460025 by Richard Sandiford Committed by Richard Sandiford

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
parent 3f125532
2011-07-07 Richard Sandiford <richard.sandiford@linaro.org> 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 * reload1.c (choose_reload_regs): Use mode sizes to check whether
an old reload register completely defines the required value. an old reload register completely defines the required value.
......
...@@ -1479,6 +1479,10 @@ arm_option_override (void) ...@@ -1479,6 +1479,10 @@ arm_option_override (void)
if (TARGET_APCS_FLOAT) if (TARGET_APCS_FLOAT)
warning (0, "passing floating point arguments in fp regs not yet supported"); 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. */ /* Initialize boolean versions of the flags, for use in the arm.md file. */
arm_arch3m = (insn_flags & FL_ARCH3M) != 0; arm_arch3m = (insn_flags & FL_ARCH3M) != 0;
arm_arch4 = (insn_flags & FL_ARCH4) != 0; arm_arch4 = (insn_flags & FL_ARCH4) != 0;
......
...@@ -235,7 +235,7 @@ Tune code for the given processor ...@@ -235,7 +235,7 @@ Tune code for the given processor
mwords-little-endian mwords-little-endian
Target Report RejectNegative Mask(LITTLE_WORDS) 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 mvectorize-with-neon-quad
Target Report Mask(NEON_VECTORIZE_QUAD) Target Report Mask(NEON_VECTORIZE_QUAD)
......
...@@ -10241,7 +10241,7 @@ Generate code for a little-endian word order but a big-endian byte ...@@ -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 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 option should only be used if you require compatibility with code for
big-endian ARM processors generated by versions of the compiler prior to 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} @item -mcpu=@var{name}
@opindex mcpu @opindex mcpu
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment