http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56635
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-03-20 08:42:52 UTC --- Author: jakub Date: Wed Mar 20 08:40:08 2013 New Revision: 196808 URL: http://gcc.gnu.org/viewcvs?rev=196808&root=gcc&view=rev Log: PR tree-optimization/56635 * tree-ssa-phiopt.c (cond_if_else_store_replacement_1): Give up if lhs of then_assign and else_assign don't have compatible types. * g++.dg/torture/pr56635.C: New test. Added: branches/gcc-4_8-branch/gcc/testsuite/g++.dg/torture/pr56635.C Modified: branches/gcc-4_8-branch/gcc/ChangeLog branches/gcc-4_8-branch/gcc/testsuite/ChangeLog branches/gcc-4_8-branch/gcc/tree-ssa-phiopt.c