https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70161
--- Comment #8 from vries at gcc dot gnu.org --- Author: vries Date: Mon Mar 21 16:05:28 2016 New Revision: 234374 URL: https://gcc.gnu.org/viewcvs?rev=234374&root=gcc&view=rev Log: Backport "Fix fdump-ipa-all-graph" 2016-03-21 Tom de Vries <t...@codesourcery.com> backport from trunk: 2016-03-18 Tom de Vries <t...@codesourcery.com> * gcc.dg/pr70161-2.c: New test. * gcc.dg/pr70161.c: New test. 2016-03-15 Tom de Vries <t...@codesourcery.com> PR ipa/70161 * cgraph.c (cgraph_node::get_body): Save, reset and restore dump_file_name. * passes.c (execute_one_ipa_transform_pass): Add missing argument to execute_function_dump. (execute_one_pass): Don't dump function if it will be dumped after ipa transform. Added: branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr70161-2.c branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr70161.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/cgraph.c branches/gcc-5-branch/gcc/passes.c branches/gcc-5-branch/gcc/testsuite/ChangeLog