[PATCH] Fix dom SWITCH_EXPR optimization (PR middle-end/29584)

Diego Novillo dnovillo@redhat.com
Thu Nov 16 16:09:00 GMT 2006


Jakub Jelinek wrote on 11/16/06 11:01:

> 	PR middle-end/29584
> 	* tree-ssa-dom.c (simplify_switch_and_lookup_avail_expr): Don't
> 	optimize if DEF doesn't have integral type.
> 
> 	* gcc.dg/torture/pr29584.c: New test.
> 
OK for 4.1


> 2006-11-16  Jakub Jelinek  <jakub@redhat.com>
> 
> 	PR middle-end/29584
> 	* tree-ssa-forwprop.c (simplify_switch_expr): Don't
> 	optimize if DEF doesn't have integral type.
> 
> 	* gcc.dg/torture/pr29584.c: New test.
> 
OK for 4.2/4.3



More information about the Gcc-patches mailing list