https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67563
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Tue Oct 6 10:19:54 2015 New Revision: 228517 URL: https://gcc.gnu.org/viewcvs?rev=228517&root=gcc&view=rev Log: 2015-10-06 Richard Biener <rguent...@suse.de> Backport from mainline 2015-09-15 Richard Biener <rguent...@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. 2015-09-24 Richard Biener <rguent...@suse.de> PR lto/67699 * lto-cgraph.c (compute_ltrans_boundary): Do not stream abstract origins. * g++.dg/pr67699.C: New testcase. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/pr67699.C branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr67563.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/gimple-fold.c branches/gcc-5-branch/gcc/lto-cgraph.c branches/gcc-5-branch/gcc/testsuite/ChangeLog