2009-07-10 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Jul 2009 11:45:40 +0000 (11:45 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Jul 2009 11:45:40 +0000 (11:45 +0000)
commitb34a77f79498e51e457a77c05ddc6d598e20d812
treeeec3d64e39a28b6deed071242b6536ae53c208b7
parent7b31b35795d57fa5a42ef990a5208685cb6253fe
2009-07-10  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/40496
* tree-ssa-loop-manip.c (tree_transform_and_unroll_loop): Create
the PHI result with a compatible type.

* g++.dg/opt/pr40496.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149469 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr40496.C [new file with mode: 0644]
gcc/tree-ssa-loop-manip.c