]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/17656 (internal compiler error: in replace_immediate_uses...
authorDiego Novillo <dnovillo@redhat.com>
Mon, 18 Oct 2004 17:39:47 +0000 (17:39 +0000)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Mon, 18 Oct 2004 17:39:47 +0000 (13:39 -0400)
commitbca9e17b5aade3e19ae49ff9c211510674b46a02
tree41b0ff9a0dade709f61ae4c8b7f6c1e781617743
parent18e4be8561b8aee3937528dd27635eaf761e57d0
re PR tree-optimization/17656 (internal compiler error: in replace_immediate_uses, at tree-ssa.c:1041)

PR tree-optimization/17656
* tree-ssa.c (replace_immediate_uses): When replacing a
constant, if the call to fold_stmt produced a different
statement, get an appropriate statement pointer by scanning
STMT's basic block.

PR tree-optimization/17656
* testsuite/gcc.c-torture/compile/pr17656.c: New test.

From-SVN: r89233
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr17656.c [new file with mode: 0644]
gcc/tree-ssa.c