This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/14583] a switch statement can be converted to an array access
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Mar 2004 16:57:55 -0000
- Subject: [Bug optimization/14583] a switch statement can be converted to an array access
- References: <20040315161146.14583.kazu@cs.umass.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-15 16:57 -------
Confirmed, one thing that needs to be done to do this optimization is combine all the return
statements into one block for the switch statement, I think I can add that to tree-ssa-return.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |pessimizes-code
Last reconfirmed|0000-00-00 00:00:00 |2004-03-15 16:57:51
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14583