diff options
Diffstat (limited to 'gcc/context.c')
-rw-r--r-- | gcc/context.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/context.c b/gcc/context.c index 09e1f898f7a..3dd4526845e 100644 --- a/gcc/context.c +++ b/gcc/context.c @@ -23,11 +23,16 @@ along with GCC; see the file COPYING3. If not see #include "ggc.h" #include "context.h" #include "pass_manager.h" +#include "dumpfile.h" /* The singleton holder of global state: */ gcc::context *g; gcc::context::context () { + /* The pass manager's constructor uses the dump manager (to set up + dumps for the various passes), so the dump manager must be set up + before the pass manager. */ + m_dumps = new gcc::dump_manager (); m_passes = new gcc::pass_manager (this); } |