public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/14583] a switch statement can be converted to an array access
       [not found] <20040315161146.14583.kazu@gcc.gnu.org>
@ 2005-09-02 11:24 ` steven at gcc dot gnu dot org
  0 siblings, 0 replies; 3+ messages in thread
From: steven at gcc dot gnu dot org @ 2005-09-02 11:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From steven at gcc dot gnu dot org  2005-09-02 11:24 -------
Kazu, is this still not optimized properly? 
 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14583


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug rtl-optimization/14583] a switch statement can be converted to an array access
       [not found] <bug-14583-5009@http.gcc.gnu.org/bugzilla/>
@ 2008-09-08 19:53 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-08 19:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2008-09-08 19:51 -------
This was fixed by:
2008-07-01  Martin Jambor  <mjambor@suse.cz>

        * Makefile.in (tree-switch-conversion.o): Add.
        (OBJS-common): Add tree-swtch-conversion.o.
        * passes.c (init_optimization_passes): Add pass_convert_switch.
        * tree-pass.h: (pass_convert_switch): Add.
        * tree-switch-conversion.c: New file.
        * gcc.dg/tree-ssa/cswtch.c: New testcase.
        * common.opt (ftree-cswtch): New option.
        * params.h (PARAM_SWITCH_CONVERSION_BRANCH_RATIO): New parameter.
        * params.def (PARAM_SWITCH_CONVERSION_BRANCH_RATIO): New parameter.
        * opts.c (decode_options): Set flag_tree_switch_conversion when
        optimization level is >= 2.
        * doc/invoke.texi (Optimize Options): Added description of
        -ftree-swtch-conversion and switch-conversion-max-branch-ratio.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14583


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug rtl-optimization/14583] a switch statement can be converted to an array access
  2004-03-15 16:11 [Bug optimization/14583] New: " kazu at cs dot umass dot edu
@ 2004-08-12  1:51 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-12  1:51 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |16996
              nThis|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14583


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-08 19:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20040315161146.14583.kazu@gcc.gnu.org>
2005-09-02 11:24 ` [Bug rtl-optimization/14583] a switch statement can be converted to an array access steven at gcc dot gnu dot org
     [not found] <bug-14583-5009@http.gcc.gnu.org/bugzilla/>
2008-09-08 19:53 ` pinskia at gcc dot gnu dot org
2004-03-15 16:11 [Bug optimization/14583] New: " kazu at cs dot umass dot edu
2004-08-12  1:51 ` [Bug rtl-optimization/14583] " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).