This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.3 target deprecation proposals
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: gcc at gcc dot gnu dot org, liqin at sunnorth dot com dot cn, dave dot anglin at nrc dot ca, matt at 3am-software dot com, joern dot rennecke at arc dot com, m dot hayes at elec dot canterbury dot ac dot nz, nickc at redhat dot com, aldyh at redhat dot com, nathan at codesourcery dot com, ni1d at arrl dot net, geoffk at geoffk dot org, paul dot woegerer at nsc dot com
- Date: Wed, 23 Jan 2008 16:45:21 +0000 (UTC)
- Subject: Re: GCC 4.3 target deprecation proposals
- References: <Pine.LNX.4.64.0801211859440.11050@digraph.polyomino.org.uk> <Pine.LNX.4.64.0801231438380.3723@digraph.polyomino.org.uk> <jelk6gjzqi.fsf@sykes.suse.de>
On Wed, 23 Jan 2008, Andreas Schwab wrote:
> "Joseph S. Myers" <joseph@codesourcery.com> writes:
>
> > * m680[012]0-*-* aliases for m68k-*-*. I see no activity using these
> > aliases and they appear fully equivalent to --with-cpu options that
> > already exist; anyone wishing the continue to use them can move them
> > to config.sub and make config.gcc treat them as --with-cpu based on
> > the noncanonical name.
>
> I'm not sure what you mean with that. config.sub already recognizes
> m680[012]0 as cpu type.
If config.sub already converts them to m68k, so that m680[012]0 never
appears in a canonical target name, then the code in config.gcc looking
for m680[012]0 in canonical target names is already dead. The proposed
alias deprecations relate only to aliases appearing in canonical names,
not those that config.sub handles (such as converting pentium-linux to
i586-pc-linux-gnu).
If config.sub handles a target alias, config.gcc doesn't need to include
it in the case statements, and testcases do not need to mention that
alias. Thus testcases don't need to know about the possibility of
configuring for target pentium-linux. If config.sub does not handle a
target alias, testcases do need to know about it - and testcases checking
for m68k-*-* fail to check for the other variant target aliases.
There are no test results recently posted for the m680[012]0 target
aliases.
--
Joseph S. Myers
joseph@codesourcery.com