aboutsummaryrefslogtreecommitdiff
path: root/gcc/run-rtl-passes.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/run-rtl-passes.c')
-rw-r--r--gcc/run-rtl-passes.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/run-rtl-passes.c b/gcc/run-rtl-passes.c
index 27f510e..7e947e9 100644
--- a/gcc/run-rtl-passes.c
+++ b/gcc/run-rtl-passes.c
@@ -30,6 +30,7 @@ along with GCC; see the file COPYING3. If not see
#include "bitmap.h"
#include "df.h"
#include "regs.h"
+#include "output.h"
#include "debug.h" /* for debug_hooks. */
#include "insn-attr-common.h" /* for INSN_SCHEDULING. */
#include "insn-attr.h" /* for init_sched_attrs. */
@@ -45,6 +46,7 @@ run_rtl_passes (char *initial_pass_name)
max_regno = max_reg_num ();
/* cgraphunit.c normally handles this. */
+ switch_to_section (text_section);
(*debug_hooks->assembly_start) ();
/* Pass "expand" normally sets this up. */