]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/59622 (internal compiler error: verify_gimple failed)
authorJakub Jelinek <jakub@redhat.com>
Tue, 31 Dec 2013 11:57:39 +0000 (12:57 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 31 Dec 2013 11:57:39 +0000 (12:57 +0100)
commitcf3e5a89aecd15ead7177517b7f3b6e3c4c66645
tree5d6617e32d36fdd5d7a923056f3a99a087058e44
parentc1618f825445027dd466e6db27b26dfa9b5899d7
re PR tree-optimization/59622 (internal compiler error: verify_gimple failed)

PR tree-optimization/59622
* gimple-fold.c (gimple_fold_call): Don't replace OBJ_TYPE_REF
call fndecl with 0 possible targets with BUILT_IN_UNREACHABLE,
instead only for !inplace add a __builtin_unreachable () call
before the call.

* g++.dg/opt/pr59622.C: New test.

From-SVN: r206264
gcc/ChangeLog
gcc/gimple-fold.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr59622.C [new file with mode: 0644]