[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

[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

[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 AC, we instantiate it, and call gen_type_die for AC. That causes us to generate DIEs for all members of AC, including AC::t. The type of AC::t is C, so

[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 AC even before the end of the B::B() function, we must somehow arrange