re PR bootstrap/41031 (ICE in insert_value_copy_on_edge preventing bootstrap on sparc...
authorRichard Sandiford <rdsandiford@googlemail.com>
Wed, 12 Aug 2009 16:28:36 +0000 (16:28 +0000)
committerPaolo Bonzini <bonzini@gcc.gnu.org>
Wed, 12 Aug 2009 16:28:36 +0000 (16:28 +0000)
commitb2a58473d7b5cb84c43da1a7749b29a96a4bfbad
treea245afb0c4d602c96d77180fd5947277aecd8445
parent666e3cebe13c86ea21f84fb5b5d6d9e1dc49a9a5
re PR bootstrap/41031 (ICE in insert_value_copy_on_edge preventing bootstrap on sparc64 and s390x, testcase on cris-elf)

2009-08-12  Richard Sandiford  <rdsandiford@googlemail.com>

PR tree-optimization/41031
* tree-outof-ssa.c (insert_value_copy_on_edge): Use promote_decl_mode
on the partition variable rather than promote_mode on the source
type.  Assert that the partition variable's type has the same
mode as the source value's.

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