This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Convert options to array of cl_decoded_option structures
- From: Manuel López-Ibáñez <lopezibanez at gmail dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 18 Jun 2010 12:45:15 +0200
- Subject: Re: Convert options to array of cl_decoded_option structures
- References: <Pine.LNX.4.64.1006181014470.28040@digraph.polyomino.org.uk>
On 18 June 2010 12:16, Joseph S. Myers <joseph@codesourcery.com> wrote:
> + ? ? ? case OPT_Ofast:
> + ? ? ? ? /* -Ofast only adds flags to -O3. ?*/
> + ? ? ? ? optimize_size = 0;
> + ? ? ? ? optimize = 3;
> + ? ? ? ? ofast = 1;
> + ? ? ? ? break;
I believe that the original idea was that commandline options should
enable other options by simulating that they appeared in the command
line. That is the purpose of the new handle_option and how it is done
for Wimplicit. Has the plan changed now? Or are you planning to do
this in a follow-up patch?
Manuel.