PR middle-end/78901
commit418624fa006fc343b05f8e596fab7b7214c03c06
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Jan 2017 07:20:04 +0000 (3 07:20 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Jan 2017 07:20:04 +0000 (3 07:20 +0000)
tree4fa7ba8f61eb91be1857c52eae3cadc7f87666c4
parent8ecf773ba34e40a7c2a3e30a0f687ee7c8e1df48
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@244013 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimple-ssa-sprintf.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr78901.C [new file with mode: 0644]