This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ipa/70161] [4.9/5/6 Regression] fdump-ipa-all-graph causes segfault


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70161

--- Comment #6 from vries at gcc dot gnu.org ---
Author: vries
Date: Tue Mar 15 11:51:32 2016
New Revision: 234211

URL: https://gcc.gnu.org/viewcvs?rev=234211&root=gcc&view=rev
Log:
Fix fdump-ipa-all-graph

2016-03-15  Tom de Vries  <tom@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.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraph.c
    trunk/gcc/passes.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]