This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How can I force an optimization level for a single file in a project?
- From: dewar at gnat dot com (Robert Dewar)
- To: shebs at apple dot com, zack at codesourcery dot com
- Cc: Serge dot Manigault at ask dot fr, gcc at gnu dot org
- Date: Sun, 12 Jan 2003 20:04:13 -0500 (EST)
- Subject: Re: How can I force an optimization level for a single file in a project?
> I don't think there's any objection in principle to the feature; the
> difficulty is simply the mishmash of global variables that control
> optimization levels. Maybe that option-parsing rewrite Neil keeps
> threatening could have an improvement in this area as a side effect.
>
> zw
This would be nice to have for GNAT too, since Ada has a language defined
Optimize pragma.