This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Using .opt files for target options
- From: Richard Sandiford <rsandifo at redhat dot com>
- To: Gerald Pfeifer <gerald at pfeifer dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 16 Apr 2005 09:10:53 +0100
- Subject: Re: Using .opt files for target options
- References: <87hdjf31q0.fsf@firetop.home><Pine.BSF.4.62.0504142358060.99390@acrux.dbai.tuwien.ac.at>
Gerald Pfeifer <gerald@pfeifer.com> writes:
> On Sun, 13 Mar 2005, Richard Sandiford wrote:
>> The aim of this patch is to extend the front- and middle-end
>> options-handling machinery so that it can be used for target
>> options as well. In other words, it lets you specify target
>> options using target-specific .opt files.
>>
>> The new code should work alongside TARGET_SWITCHES and TARGET_OPTIONS,
>> but in order to avoid one of those infamous "half transitions",
>> I suppose the long-term plan would be to move all ports over to the
>> new scheme. I'll try to do that for the simpler, more obvious targets,
>> but I'll probably need help for some ports. i386, rs6000 and sh look
>> especially hairy. ;)
>
> An unthankfull job, but like others I pointed out today, something
> which I'd consider for our main page.
Well, it's your call, but I'm not sure it's worthy of a news entry.
Aside (perhaps) from some very minor consistency improvements,
it shouldn't be a user-visible change.
Richard