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, middle-end] Switch initializations conversion



Martin Jambor wrote, On 11.9.2007 14:23:
> 2007-09-10  Martin Jambor  <jamborm@matfyz.cz>
>         * Makefile.in (tree-cswtch.o): Add.
>         (OBJS-common): Add tree-cswtch.o
>         * passes.c (init_optimization_passes): Add pass_convert_switch.
>         * tree-pass.h: Add a declaration of the structure describing the new
>         pass.
>         * tree-cswtch.c: New file.
>         * gcc.dg/tree-ssa/cswtch.c: New testcase.
>         * common.opt (ftree-cswtch): New option. 
>         * opts.c (decode_options): Set flag_tree_cswtch when
>         optimization level is >= 2.
> 	* doc/invoke.texi (Optimize Options): Added description of
> 	-ftree-cswtch
> 	(Optimize Options): Added description of cswtch-max-array and
> 	cswtch-max-branch-ratio
Hi,
is it really worth it to use abbreviation "swtch" that is shorter only by one
character instead of the complete word "switch"?

--
VH

Attachment: signature.asc
Description: OpenPGP digital signature


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