[Bug debug/36278] [4.2/4.3/4.4 Regression] ICE with typedef void in namespace and using the defined type in another when compiling with "-g"
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.2.5 |4.3.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36278
[Bug debug/36278] [4.2/4.3/4.4 Regression] ICE with typedef void in namespace and using the defined type in another when compiling with "-g"
--- Comment #5 from jakub at gcc dot gnu dot org 2008-07-31 08:51 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36278
[Bug debug/36278] [4.2/4.3/4.4 Regression] ICE with typedef void in namespace and using the defined type in another when compiling with "-g"
--- Comment #4 from jakub at gcc dot gnu dot org 2008-07-31 08:49 --- Subject: Bug 36278 Author: jakub Date: Thu Jul 31 08:48:26 2008 New Revision: 138369 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138369 Log: PR debug/36278 * dwarf2out.c (get_context_die): New function. (force_decl_die, force_type_die): Use it. (dwarf2out_imported_module_or_decl): Likewise. If base_type_die returns NULL, force generation of DW_TAG_typedef and put that into DW_AT_import. * g++.dg/debug/namespace2.C: New test. Added: branches/gcc-4_3-branch/gcc/testsuite/g++.dg/debug/namespace2.C Modified: branches/gcc-4_3-branch/gcc/ChangeLog branches/gcc-4_3-branch/gcc/dwarf2out.c branches/gcc-4_3-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36278
[Bug debug/36278] [4.2/4.3/4.4 Regression] ICE with typedef void in namespace and using the defined type in another when compiling with "-g"
--- Comment #3 from jakub at gcc dot gnu dot org 2008-07-31 08:02 --- Subject: Bug 36278 Author: jakub Date: Thu Jul 31 08:01:25 2008 New Revision: 138361 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138361 Log: PR debug/36278 * dwarf2out.c (get_context_die): New function. (force_decl_die, force_type_die): Use it. (dwarf2out_imported_module_or_decl): Likewise. If base_type_die returns NULL, force generation of DW_TAG_typedef and put that into DW_AT_import. * g++.dg/debug/namespace2.C: New test. Added: trunk/gcc/testsuite/g++.dg/debug/namespace2.C Modified: trunk/gcc/ChangeLog trunk/gcc/dwarf2out.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36278
[Bug debug/36278] [4.2/4.3/4.4 Regression] ICE with typedef void in namespace and using the defined type in another when compiling with "-g"
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Component|middle-end |debug Last reconfirmed|2008-05-20 13:44:25 |2008-07-30 11:41:05 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36278