This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/42454] debug_ranges table contains empty range for unused .text section with -ffunction-sections



------- Comment #1 from ccoutant at gcc dot gnu dot org  2009-12-21 23:13 -------
Created an attachment (id=19363)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19363&action=view)
Proposed fix for PR 42454

        * dwarf2out.c (dwarf2out_finish): Don't output range for .text
        section unless .text section was used.  Likewise for cold.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42454


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]