dwarf2out.c (size_of_aranges): Skip DECL_IGNORED_P functions.

From-SVN: r196889
This commit is contained in:
Mark Wielaard 2013-03-21 20:51:52 +00:00 committed by Mark Wielaard
parent cc1df30bb1
commit 511ef689f4
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2013-03-21 Mark Wielaard <mjw@redhat.com>
* dwarf2out.c (size_of_aranges): Skip DECL_IGNORED_P functions.
2013-03-21 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (*movdi_internal): Disparage slightly

View file

@ -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)