This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][ARM] Add deprecation warning on pre-v4t architecture revisions
- From: Kyrill Tkachov <kyrylo dot tkachov at foss dot arm dot com>
- To: "Richard Earnshaw (lists)" <Richard dot Earnshaw at arm dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Ramana Radhakrishnan <ramana dot radhakrishnan at arm dot com>, Nick Clifton <nickc at redhat dot com>
- Date: Fri, 15 Apr 2016 14:39:31 +0100
- Subject: Re: [PATCH][ARM] Add deprecation warning on pre-v4t architecture revisions
- Authentication-results: sourceware.org; auth=none
- References: <56D5C086 dot 4070802 at foss dot arm dot com> <570779C0 dot 30408 at arm dot com>
On 08/04/16 10:28, Richard Earnshaw (lists) wrote:
On 01/03/16 16:17, Kyrill Tkachov wrote:
Hi all,
For GCC 6 we want to deprecate architecture revisions prior to ARMv4T.
This patch implements this by documenting the deprecation in invoke.texi
and adding
a warning whenever the user specifies an -march or -mcpu option that
selects such
an architecture revision.
Bootstrapped and tested on arm.
Ok for trunk?
Thanks,
Kyrill
P.S. I'll add a note to changes.html to that effect separately.
2016-03-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/arm.c (arm_option_override): Warn on pre-ARMv4T
architecture revisions.
* doc/invoke.texi (ARM Options): Add note on deprecation of pre-ARMv4T
architecture revisions.
2016-03-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gcc.target/arm/ftest-armv4-arm.c: Add dg-warning for deprecation
warning.
* gcc.target/arm/pr62554.c: Likewise.
* gcc.target/arm/pr69610-1.c: Likewise.
* gcc.target/arm/pr69610-2.c: Likewise.
OK
After some offline discussion we've decided to not add an unconditional warning every time someone
compiles for a deprecated architecture. This would irritate users.
As such, I'm just going to commit the invoke.texi hunk documenting the deprecation.
Thanks,
Kyrill
R.