summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authormark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>2013-03-21 20:51:52 +0000
committermark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>2013-03-21 20:51:52 +0000
commit0b436012bfdd48bfeb0f3ca338e6098a4ec48038 (patch)
tree3176e109e0d005f1a7682dd732e352ce6877d7ed /gcc/dwarf2out.c
parent5c38eac8b0ecac6bed0bfb8600bc86d5a7e11993 (diff)
downloadgcc-0b436012bfdd48bfeb0f3ca338e6098a4ec48038.tar.gz
dwarf2out.c (size_of_aranges): Skip DECL_IGNORED_P functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196889 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 9be77286dac..b298cd90b42 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -7848,6 +7848,8 @@ size_of_aranges (void)
FOR_EACH_VEC_ELT (*fde_vec, fde_idx, fde)
{
+ if (DECL_IGNORED_P (fde->decl))
+ continue;
if (!fde->in_std_section)
size += 2 * DWARF2_ADDR_SIZE;
if (fde->dw_fde_second_begin && !fde->second_in_std_section)