diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-05-03 16:18:51 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-05-03 16:18:51 +0000 |
commit | d03a2c79dfbb6958e0e8ee8bf16650f12c1d9b0b (patch) | |
tree | a86f9e91c0181c8efc7912195970d288d3013452 /gcc/dwarf2out.c | |
parent | e528aa1f5f21cf2237bb49fd3f60fb148c6eedcf (diff) | |
download | gcc-d03a2c79dfbb6958e0e8ee8bf16650f12c1d9b0b.tar.gz |
* config/i386/i386.c (ix86_code_end): Set DECL_IGNORED_P on the
pc thunk.
* dwarf2out.c (output_aranges): Skip DECL_IGNORED_P functions.
(dwarf2out_finish): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187105 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 10a53894f63..10e1ece1891 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -8085,6 +8085,8 @@ output_aranges (unsigned long aranges_length) FOR_EACH_VEC_ELT (dw_fde_ref, fde_vec, fde_idx, fde) { + if (DECL_IGNORED_P (fde->decl)) + continue; if (!fde->in_std_section) { dw2_asm_output_addr (DWARF2_ADDR_SIZE, fde->dw_fde_begin, @@ -21897,6 +21899,8 @@ dwarf2out_finish (const char *filename) FOR_EACH_VEC_ELT (dw_fde_ref, fde_vec, fde_idx, fde) { + if (DECL_IGNORED_P (fde->decl)) + continue; if (!fde->in_std_section) add_ranges_by_labels (comp_unit_die (), fde->dw_fde_begin, fde->dw_fde_end, &range_list_added); |