On Tue, Sep 09, 2014 at 10:55:40AM +0100, Ramana Radhakrishnan wrote: > On Sun, Aug 31, 2014 at 4:45 PM, Gerald Pfeifer <ger...@pfeifer.com> wrote: > > On Wed, 5 Feb 2014, James Greenhalgh wrote: > >> As far as I know the behaviour of this flag has always been this way. > >> So is this also OK to backport to release branches? > > > > 2014-02-05 James Greenhalgh <james.greenha...@arm.com> > > > > PR target/59718 > > * doc/invoke.texi (-march=): Clarify documentation for ARM. > > (-mtune=): Likewise. > > (-mcpu=): Likewise. > > > > Where this piece of documentations says "At present, this feature is > > only supported on Linux" (more than once), should this be GNU/Linux > > instead per FSF guidelines? > > Yes. James can you fix this up please ?
Makes sense to me, I've committed the attached as r215049 under the obvious rule. I'll port the same fix to the 4.8/4.9 branches later today. Cheers, James --- gcc/ 2014-09-09 James Greenhalgh <james.greenha...@arm.com> * doc/invoke.texi (-march): Use GNU/Linux rather than Linux. (-mtune): Likewise. (-mcpu): Likewise.
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 55e6d56..bdd32b8 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -12566,8 +12566,8 @@ architecture together with the optional CRC32 extensions. @option{-march=native} causes the compiler to auto-detect the architecture of the build computer. At present, this feature is only supported on -Linux, and not all architectures are recognized. If the auto-detect is -unsuccessful the option has no effect. +GNU/Linux, and not all architectures are recognized. If the auto-detect +is unsuccessful the option has no effect. @item -mtune=@var{name} @opindex mtune @@ -12618,7 +12618,7 @@ this option may change in future GCC versions as CPU models come and go. @option{-mtune=native} causes the compiler to auto-detect the CPU of the build computer. At present, this feature is only supported on -Linux, and not all architectures are recognized. If the auto-detect is +GNU/Linux, and not all architectures are recognized. If the auto-detect is unsuccessful the option has no effect. @item -mcpu=@var{name} @@ -12639,8 +12639,8 @@ See @option{-mtune} for more information. @option{-mcpu=native} causes the compiler to auto-detect the CPU of the build computer. At present, this feature is only supported on -Linux, and not all architectures are recognized. If the auto-detect is -unsuccessful the option has no effect. +GNU/Linux, and not all architectures are recognized. If the auto-detect +is unsuccessful the option has no effect. @item -mfpu=@var{name} @opindex mfpu