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 pch/51722] [4.7 Regression] Options "-g3" or "-ggdb3" or "-g3 -gdwarf-2" and other "-g..level3" - internal compiler error


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

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-03 13:45:47 UTC ---
Author: jakub
Date: Tue Jan  3 13:45:41 2012
New Revision: 182845

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182845
Log:
    PR pch/51722
    * dwarf2out.c (dwarf2out_start_source_file, dwarf2out_define,
    dwarf2out_undef): Allocate e.info using ggc_strdup instead
    of xstrdup.
    (output_macinfo_op): Don't ggc_strdup fd->filename.
    (optimize_macinfo_range): Allocate grp_name using XALLOCAVEC,
    then ggc_strdup it.  Don't free inc->info or cur->info.
    (output_macinfo): Don't free ref->info or file->info.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c


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