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 c++/47291] [4.6 Regression] ICE: SIGSEGV in size_binop_loc (fold-const.c:1427) with -g


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

--- Comment #4 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-01-19 22:58:03 UTC ---
Author: dodji
Date: Wed Jan 19 22:57:47 2011
New Revision: 169036

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169036
Log:
Fix PR c++/47291

gcc/
    PR c++/47291
    * dwarf2out.c (generic_type_p, schedule_generic_params_dies_gen)
    (gen_scheduled_generic_parms_dies): New functions.
    (gen_struct_or_union_type_die): Schedule template parameters DIEs
    generation for the end of CU compilation.
    (dwarf2out_finish): Generate template parameters DIEs here.

gcc/testsuite/

    PR c++/47291
    * g++.dg/debug/dwarf2/template-params-10.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/debug/dwarf2/template-params-10.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
    trunk/gcc/testsuite/ChangeLog


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