re PR middle-end/78901 (ICE: verify_gimple failed (error: statement marked for throw...
authorJakub Jelinek <jakub@gcc.gnu.org>
Tue, 3 Jan 2017 07:20:04 +0000 (08:20 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 3 Jan 2017 07:20:04 +0000 (08:20 +0100)
commitcd123354c511316c020bf7ff7e4527989b440223
tree4fa7ba8f61eb91be1857c52eae3cadc7f87666c4
parentd003cf5ef683191902c19cad6cd3d7ddf957dcde
re PR middle-end/78901 (ICE: verify_gimple failed (error: statement marked for throw in middle of block))

PR middle-end/78901
* gimple-ssa-sprintf.c (try_substitute_return_value): Don't change
possibly throwing calls.

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

From-SVN: r244013
gcc/ChangeLog
gcc/gimple-ssa-sprintf.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr78901.C [new file with mode: 0644]