[Bug c++/17695] [4.0 regression] ICE in add_abstract_origin_attribute

2004-10-29 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2004-10-29 07:27 --- Fixed in GCC 4.0. -- What|Removed |Added Status|ASSIGNED|RE

[Bug c++/17695] [4.0 regression] ICE in add_abstract_origin_attribute

2004-10-29 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-10-29 07:17 --- Subject: Bug 17695 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2004-10-29 07:16:50 Modified files: gcc/cp : ChangeLog decl.c gcc/testsui

[Bug c++/17695] [4.0 regression] ICE in add_abstract_origin_attribute

2004-10-28 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2004-10-29 02:05 --- My attempted fix failed. Things will not be easy, given that we're copying the typedef. Because we call rest_of_type_compilation for A even before the end of the B::B() function, we must somehow arrange t

[Bug c++/17695] [4.0 regression] ICE in add_abstract_origin_attribute

2004-10-28 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2004-10-29 01:42 --- The problem here is an ordering issue. When we see A, we instantiate it, and call gen_type_die for A. That causes us to generate DIEs for all members of A, including A::t. The type of A::t is C, so we no