re PR c/48146 (ICE tree check: expected ssa_name, have var_decl in has_zero_uses...
authorRichard Guenther <rguenther@suse.de>
Wed, 16 Mar 2011 12:41:08 +0000 (12:41 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 16 Mar 2011 12:41:08 +0000 (12:41 +0000)
commitef13324ecab94740e5bb2f4c65e0600fe616e9ae
tree610cae3077906896402d52f6103099ad59a5184d
parentf0eddb90199eac4df644329c8cd0089b110062f1
re PR c/48146 (ICE tree check: expected ssa_name, have var_decl in has_zero_uses, at tree-flow-inline.h:342)

2011-03-16  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/48146
* tree-ssa-sink.c (sink_code_in_bb): Manually update virtual
operands avoiding the need for renaming.

* gcc.dg/torture/pr48146.c: New testcase.

From-SVN: r171045
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr48146.c [new file with mode: 0644]
gcc/tree-ssa-sink.c