From: Richard Sandiford Date: Thu, 7 Jul 2011 15:07:02 +0000 (+0000) Subject: invoke.texi (mwords-little-endian): Deprecate. X-Git-Tag: upstream/12.2.0~83131 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=38460025c713531cce0af5106cf9a6dcd1ec3d5d;p=platform%2Fupstream%2Fgcc.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 ea7c24b..1c481de 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,12 @@ 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 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, "% 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