diff options
author | Ian Lance Taylor <iant@golang.org> | 2021-09-13 10:37:49 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2021-09-13 10:37:49 -0700 |
commit | e252b51ccde010cbd2a146485d8045103cd99533 (patch) | |
tree | e060f101cdc32bf5e520de8e5275db9d4236b74c /gcc/dumpfile.c | |
parent | f10c7c4596dda99d2ee872c995ae4aeda65adbdf (diff) | |
parent | 104c05c5284b7822d770ee51a7d91946c7e56d50 (diff) | |
download | gcc-e252b51ccde010cbd2a146485d8045103cd99533.zip gcc-e252b51ccde010cbd2a146485d8045103cd99533.tar.gz gcc-e252b51ccde010cbd2a146485d8045103cd99533.tar.bz2 |
Merge from trunk revision 104c05c5284b7822d770ee51a7d91946c7e56d50.
Diffstat (limited to 'gcc/dumpfile.c')
-rw-r--r-- | gcc/dumpfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/dumpfile.c b/gcc/dumpfile.c index 2457df2..8169daf 100644 --- a/gcc/dumpfile.c +++ b/gcc/dumpfile.c @@ -2098,14 +2098,14 @@ enable_rtl_dump_file (void) /* debug_dump_context's ctor. Temporarily override the dump_context (to forcibly enable output to stderr). */ -debug_dump_context::debug_dump_context () +debug_dump_context::debug_dump_context (FILE *f) : m_context (), m_saved (&dump_context::get ()), m_saved_flags (dump_flags), m_saved_pflags (pflags), m_saved_file (dump_file) { - set_dump_file (stderr); + set_dump_file (f); dump_context::s_current = &m_context; pflags = dump_flags = MSG_ALL_KINDS | MSG_ALL_PRIORITIES; dump_context::get ().refresh_dumps_are_enabled (); |