From: Richard Sandiford Date: Thu, 7 Jul 2011 15:07:02 +0000 (+0000) Subject: invoke.texi (mwords-little-endian): Deprecate. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=38460025c713531cce0af5106cf9a6dcd1ec3d5d;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ea7c24b94b7..1c481de1f58 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2011-07-07 Richard Sandiford + + * 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 * reload1.c (choose_reload_regs): Use mode sizes to check whether diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 0e371f30167..d9763d23509 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, "% 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 48a5cb346f7..be5fd3c5383 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 0be0f4d125b..c8ec451510b 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