re PR middle-end/67563 (verify_flow_info failed)
authorRichard Biener <rguenther@suse.de>
Tue, 15 Sep 2015 12:37:19 +0000 (12:37 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 15 Sep 2015 12:37:19 +0000 (12:37 +0000)
commitf6b4dc28f9743779b846ca04a4f97d293c8fd6fa
treed53f8f116760f611f055d13dc71ab30e89b5b222
parent6ec0e5b9c323dbbdfafb49d2c946be8f43237214
re PR middle-end/67563 (verify_flow_info failed)

2015-09-15  Richard Biener  <rguenther@suse.de>

PR middle-end/67563
* gimple-fold.c (gimplify_and_update_call_from_tree): Do not
transfer EH info from old to new stmt.
(replace_call_with_value): Likewise.
(replace_call_with_call_and_fold): Likewise.
(gimple_fold_builtin_memory_op): Likewise.
(gimple_fold_builtin_memset): Likewise.
(gimple_fold_builtin_stpcpy): Likewise.
(gimple_fold_call): Likewise.

* gcc.dg/pr67563.c: New testcase.

From-SVN: r227788
gcc/ChangeLog
gcc/gimple-fold.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr67563.c [new file with mode: 0644]