public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] remove deprecated aliases
@ 2007-04-24 23:43 Dirk Mueller
  2007-05-02 11:41 ` PING: " Dirk Mueller
  2007-05-15  4:05 ` Ryan Hill
  0 siblings, 2 replies; 5+ messages in thread
From: Dirk Mueller @ 2007-04-24 23:43 UTC (permalink / raw)
  To: gcc-patches


Hi, 

the patch below removes -m386,m486,mpentium,mpentiumpro. They have been 
deprecated for ages, and broken for several gcc releases. Its time to retire 
them. 

bootstrapped, regtested on i686-suse-linux with slightly older mainline with 
no new regressions. 

Ok?


2007-04-25  Dirk Mueller  <dmueller@suse.de>

        * doc/invoke.texi (-m386,-m486,-mpentium,-mpentiumpro): Remove.

        * config/i386/i386.h (CC1_CPU_SPEC): Remove handling for deprecated
        options.

        * config/i386/i386.opt (m386,m486,mpentium,mpentiumpro): Remove.

--- doc/invoke.texi
+++ doc/invoke.texi
@@ -9908,18 +9848,6 @@ specifying @option{-march=@var{cpu-type}
 @opindex mcpu
 A deprecated synonym for @option{-mtune}.
 
-@item -m386
-@itemx -m486
-@itemx -mpentium
-@itemx -mpentiumpro
-@opindex m386
-@opindex m486
-@opindex mpentium
-@opindex mpentiumpro
-These options are synonyms for @option{-mtune=i386}, @option{-mtune=i486},
-@option{-mtune=pentium}, and @option{-mtune=pentiumpro} respectively.
-These synonyms are deprecated.
-
 @item -mfpmath=@var{unit}
 @opindex march
 Generate floating point arithmetics for selected unit @var{unit}.  The 
choices
--- config/i386/i386.h
+++ config/i386/i386.h
@@ -426,17 +426,8 @@ extern const char *host_detect_local_cpu
 
 #ifndef CC1_CPU_SPEC
 #define CC1_CPU_SPEC_1 "\
-%{!mtune*: \
-%{m386:mtune=i386 \
-%n`-m386' is deprecated. Use `-march=i386' or `-mtune=i386' instead.\n} \
-%{m486:-mtune=i486 \
-%n`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.\n} \
-%{mpentium:-mtune=pentium \
-%n`-mpentium' is deprecated. Use `-march=pentium' or `-mtune=pentium' 
instead.\n} \
-%{mpentiumpro:-mtune=pentiumpro \
-%n`-mpentiumpro' is deprecated. Use `-march=pentiumpro' or 
`-mtune=pentiumpro' instead.\n} \
 %{mcpu=*:-mtune=%* \
-%n`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.\n}} \
+%n`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.\n} \
 %<mcpu=* \
 %{mintel-syntax:-masm=intel \
 %n`-mintel-syntax' is deprecated. Use `-masm=intel' instead.\n} \
--- i386/i386.opt
+++ i386/i386.opt
@@ -27,18 +27,10 @@ m32
 Target RejectNegative Negative(m64) Report InverseMask(64BIT)
 Generate 32bit i386 code
 
-m386
-Target RejectNegative Undocumented
-;; Deprecated
-
 m3dnow
 Target Report Mask(3DNOW)
 Support 3DNow! built-in functions
 
-m486
-Target RejectNegative Undocumented
-;; Deprecated
-
 m64
 Target RejectNegative Negative(m32) Report Mask(64BIT)
 Generate 64bit x86-64 code
@@ -155,14 +143,6 @@ mpc
 Target RejectNegative Report Joined Var(ix87_precision_string)
 Set 80387 floating-point precision (-mpc32, -mpc64, -mpc80)
 
-mpentium
-Target RejectNegative Undocumented
-;; Deprecated
-
-mpentiumpro
-Target RejectNegative Undocumented
-;; Deprecated
-
 mpreferred-stack-boundary=
 Target RejectNegative Joined Var(ix86_preferred_stack_boundary_string)
 Attempt to keep stack aligned to this power of 2

^ permalink raw reply	[flat|nested] 5+ messages in thread

* PING: [PATCH] remove deprecated aliases
  2007-04-24 23:43 [PATCH] remove deprecated aliases Dirk Mueller
@ 2007-05-02 11:41 ` Dirk Mueller
  2007-05-02 11:57   ` Richard Guenther
  2007-05-15  4:05 ` Ryan Hill
  1 sibling, 1 reply; 5+ messages in thread
From: Dirk Mueller @ 2007-05-02 11:41 UTC (permalink / raw)
  To: gcc-patches

On Wednesday, 25. April 2007, Dirk Mueller wrote:

> bootstrapped, regtested on i686-suse-linux with slightly older mainline
> with no new regressions.

re-tested with current mainline with no new regressions. 


http://gcc.gnu.org/ml/gcc-patches/2007-04/msg01647.html


Thanks,
Dirk

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: PING: [PATCH] remove deprecated aliases
  2007-05-02 11:41 ` PING: " Dirk Mueller
@ 2007-05-02 11:57   ` Richard Guenther
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Guenther @ 2007-05-02 11:57 UTC (permalink / raw)
  To: Dirk Mueller; +Cc: gcc-patches

On 5/2/07, Dirk Mueller <dmueller@suse.de> wrote:
> On Wednesday, 25. April 2007, Dirk Mueller wrote:
>
> > bootstrapped, regtested on i686-suse-linux with slightly older mainline
> > with no new regressions.
>
> re-tested with current mainline with no new regressions.
>
>
> http://gcc.gnu.org/ml/gcc-patches/2007-04/msg01647.html

This is ok.

Thanks,
Richard.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] remove deprecated aliases
  2007-04-24 23:43 [PATCH] remove deprecated aliases Dirk Mueller
  2007-05-02 11:41 ` PING: " Dirk Mueller
@ 2007-05-15  4:05 ` Ryan Hill
  2007-05-22  8:46   ` Dirk Mueller
  1 sibling, 1 reply; 5+ messages in thread
From: Ryan Hill @ 2007-05-15  4:05 UTC (permalink / raw)
  To: gcc-patches

Dirk Mueller wrote:

> the patch below removes -m386,m486,mpentium,mpentiumpro. They have been 
> deprecated for ages, and broken for several gcc releases. Its time to retire 
> them. 

Since this is user visible, can a note be added to the 4.3 Changes page?

-- 
                                where to now? if i had to guess
dirtyepic gentoo org        i'm afraid to say antarctica's next
9B81 6C9F E791 83BB 3AB3  5B2D E625 A073 8379 37E8 (0x837937E8)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] remove deprecated aliases
  2007-05-15  4:05 ` Ryan Hill
@ 2007-05-22  8:46   ` Dirk Mueller
  0 siblings, 0 replies; 5+ messages in thread
From: Dirk Mueller @ 2007-05-22  8:46 UTC (permalink / raw)
  To: gcc-patches; +Cc: Ryan Hill

On Tuesday, 15. May 2007, Ryan Hill wrote:

> Since this is user visible, can a note be added to the 4.3 Changes page?

Yes, but it took me some time to actually figure out how to do that :)

Done now.

Thanks,
Dirk


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-05-22  8:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-24 23:43 [PATCH] remove deprecated aliases Dirk Mueller
2007-05-02 11:41 ` PING: " Dirk Mueller
2007-05-02 11:57   ` Richard Guenther
2007-05-15  4:05 ` Ryan Hill
2007-05-22  8:46   ` Dirk Mueller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).