]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR lto/41159 ([LTO] ICE in insert_value_copy_on_edge, at tree-outof...
authorUros Bizjak <ubizjak@gmail.com>
Wed, 21 Dec 2011 12:26:04 +0000 (13:26 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 21 Dec 2011 12:26:04 +0000 (13:26 +0100)
commit0f8f00d2cd703e3128d8e8a4fe994be5e94bb40e
tree232f566547d570d84b8167bbd1068c337603533d
parentd16d803626e1147bf0a4d8e9adea710491d399f4
backport: re PR lto/41159 ([LTO] ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:225)

Backport from mainline
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: r182580
gcc/ChangeLog
gcc/tree-outof-ssa.c