re PR lto/41159 ([LTO] ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:225)
authorRichard Guenther <rguenther@suse.de>
Wed, 21 Dec 2011 09:22:58 +0000 (09:22 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 21 Dec 2011 09:22:58 +0000 (09:22 +0000)
commitb200cc3fccb049b5335c3e9310b4ab7cf4b0075c
tree81fb597d11aae860b99eb2e662b300a9ae338c19
parent8e1d97d43b4230fa8a4bd78f73b0817864082493
re PR lto/41159 ([LTO] ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:225)

2011-12-21  Richard Guenther  <rguenther@suse.de>

PR lto/41159
* tree-outof-ssa.c (insert_value_copy_on_edge): Use the
mode of the pseudo as destination mode.  Only assert that
is equal to the promoted mode of the decl if it is a REG.

From-SVN: r182570
gcc/ChangeLog
gcc/tree-outof-ssa.c