This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix PR tree-opt/17343, cases do not combine with default
On Oct 1, 2004, at 11:11 AM, Andrew Pinski wrote:
On Oct 1, 2004, at 11:01 AM, Diego Novillo wrote:
On Fri, 2004-10-01 at 01:19, Andrew Pinski wrote:
Looks OK. Any chance you can add a test for this?
* tree-cfg.c (group_case_labels): Make sure that the last
case was a default and if so get the label.
When the label we looking at is the default, decrement the
Tescase which I applied:
Which I had to remove as the last place where group_case_labels gets
called and is applied to this testcase is after optimization has
and we don't get a tree dump for it either.