diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2018-01-04 21:47:35 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2018-01-04 21:47:35 +0000 |
commit | 91a00d11a32d7590285395534a2315ad65a6402f (patch) | |
tree | ba65ea590758de1275dfd8d47681e58f4584f6eb /gcc/cgraphunit.c | |
parent | 85e0b2c4515719b27c7e755faa01b80a24926489 (diff) | |
download | gcc-91a00d11a32d7590285395534a2315ad65a6402f.zip gcc-91a00d11a32d7590285395534a2315ad65a6402f.tar.gz gcc-91a00d11a32d7590285395534a2315ad65a6402f.tar.bz2 |
Avoid Solaris/SPARC comparison failures with Solaris as (PR bootstrap/81926)
PR bootstrap/81926
* cgraphunit.c (symbol_table::compile): Switch to text_section
before calling assembly_start debug hook.
* run-rtl-passes.c (run_rtl_passes): Likewise.
Include output.h.
From-SVN: r256267
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 44b931e..e418ec0 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -2579,6 +2579,7 @@ symbol_table::compile (void) timevar_pop (TV_CGRAPHOPT); /* Output everything. */ + switch_to_section (text_section); (*debug_hooks->assembly_start) (); if (!quiet_flag) fprintf (stderr, "Assembling functions:\n"); |