https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82128
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Wed Sep 13 08:13:03 2017 New Revision: 252062 URL: https://gcc.gnu.org/viewcvs?rev=252062&root=gcc&view=rev Log: 2017-09-13 Richard Biener <[email protected]> PR middle-end/82128 * gimple-fold.c (gimple_fold_call): Update SSA name in-place to default-def to avoid breaking iterator update with the weird interaction with cgraph_update_edges_for_call_stmt_node. * g++.dg/pr82128.C: New testcase. Added: trunk/gcc/testsuite/g++.dg/pr82128.C Modified: trunk/gcc/ChangeLog trunk/gcc/gimple-fold.c trunk/gcc/testsuite/ChangeLog
