This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix -m386 and -m486 deprecation notices
- To: rth at redhat dot com, jh at suse dot cz
- Subject: [PATCH] Fix -m386 and -m486 deprecation notices
- From: Jakub Jelinek <jakub at redhat dot com>
- Date: Thu, 26 Apr 2001 12:36:17 +0200
- Cc: gcc-patches at gcc dot gnu dot org
- Reply-To: Jakub Jelinek <jakub at redhat dot com>
Hi!
Installed under the obvious bugfix rule to head & branch.
2001-04-26 Jakub Jelinek <jakub@redhat.com>
* config/i386/i386.h (CC1_CPU_SPEC): Fix deprecation warnings for
-m386 and -m486.
--- gcc/config/i386/i386.h.jj Tue Apr 10 17:42:44 2001
+++ gcc/config/i386/i386.h Thu Apr 26 13:05:19 2001
@@ -429,9 +429,9 @@ extern int ix86_arch;
#define CC1_CPU_SPEC "\
%{!mcpu*: \
%{m386:-mcpu=i386 \
-%n`-mpentium' is deprecated. Use `-march' or `-mcpu' instead.\n} \
+%n`-m386' is deprecated. Use `-march' or `-mcpu' instead.\n} \
%{m486:-mcpu=i486 \
-%n`-mpentium' is deprecated. Use `-march' or `-mcpu' instead.\n} \
+%n`-m486' is deprecated. Use `-march' or `-mcpu' instead.\n} \
%{mpentium:-mcpu=pentium \
%n`-mpentium' is deprecated. Use `-march' or `-mcpu' instead.\n} \
%{mpentiumpro:-mcpu=pentiumpro \
Jakub