This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][ARM] Add deprecation warning on pre-v4t architecture revisions



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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]