[Bug c++/44587] [4.4/4.5/4.6 Regression] ICE in instantiate_decl
--- Comment #6 from jason at gcc dot gnu dot org 2010-06-29 19:31 --- Fixed for 4.4.5. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44587
[Bug c++/44587] [4.4/4.5/4.6 Regression] ICE in instantiate_decl
--- Comment #5 from jason at gcc dot gnu dot org 2010-06-29 19:30 --- Subject: Bug 44587 Author: jason Date: Tue Jun 29 19:30:29 2010 New Revision: 161562 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161562 Log: PR c++/44587 * pt.c (has_value_dependent_address): New. (value_dependent_expression_p): Check it. (convert_nontype_argument): Likewise. Call decay_conversion before folding if we want a pointer. * semantics.c (finish_id_expression): Don't add SCOPE_REF if the scope is the current instantiation. Added: branches/gcc-4_4-branch/gcc/testsuite/g++.dg/template/qualified-id2.C branches/gcc-4_4-branch/gcc/testsuite/g++.dg/template/qualified-id3.C Modified: branches/gcc-4_4-branch/gcc/cp/ChangeLog branches/gcc-4_4-branch/gcc/cp/pt.c branches/gcc-4_4-branch/gcc/cp/semantics.c branches/gcc-4_4-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44587
[Bug c++/44587] [4.4/4.5/4.6 Regression] ICE in instantiate_decl
--- Comment #4 from jason at gcc dot gnu dot org 2010-06-29 19:30 --- Subject: Bug 44587 Author: jason Date: Tue Jun 29 19:29:58 2010 New Revision: 161561 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161561 Log: PR c++/44587 * pt.c (has_value_dependent_address): New. (value_dependent_expression_p): Check it. (convert_nontype_argument): Likewise. Call decay_conversion before folding if we want a pointer. * semantics.c (finish_id_expression): Don't add SCOPE_REF if the scope is the current instantiation. Added: branches/gcc-4_5-branch/gcc/testsuite/g++.dg/template/qualified-id2.C branches/gcc-4_5-branch/gcc/testsuite/g++.dg/template/qualified-id3.C Modified: branches/gcc-4_5-branch/gcc/cp/ChangeLog branches/gcc-4_5-branch/gcc/cp/pt.c branches/gcc-4_5-branch/gcc/cp/semantics.c branches/gcc-4_5-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44587
[Bug c++/44587] [4.4/4.5/4.6 Regression] ICE in instantiate_decl
--- Comment #3 from jason at gcc dot gnu dot org 2010-06-29 19:29 --- Subject: Bug 44587 Author: jason Date: Tue Jun 29 19:29:02 2010 New Revision: 161559 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161559 Log: PR c++/44587 * pt.c (has_value_dependent_address): New. (value_dependent_expression_p): Check it. (convert_nontype_argument): Likewise. Call decay_conversion before folding if we want a pointer. * semantics.c (finish_id_expression): Don't add SCOPE_REF if the scope is the current instantiation. Added: trunk/gcc/testsuite/g++.dg/template/qualified-id2.C trunk/gcc/testsuite/g++.dg/template/qualified-id3.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/cp/semantics.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44587
[Bug c++/44587] [4.4/4.5/4.6 Regression] ICE in instantiate_decl
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Last reconfirmed|2010-06-24 21:45:08 |2010-06-28 16:00:42 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44587
[Bug c++/44587] [4.4/4.5/4.6 Regression] ICE in instantiate_decl
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-06-24 21:45 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords||accepts-invalid, ice-on- ||invalid-code Priority|P3 |P2 Last reconfirmed|-00-00 00:00:00 |2010-06-24 21:45:08 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44587
[Bug c++/44587] [4.4/4.5/4.6 Regression] ICE in instantiate_decl
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44587
[Bug c++/44587] [4.4/4.5/4.6 Regression] ICE in instantiate_decl
--- Comment #1 from jakub at gcc dot gnu dot org 2010-06-18 21:54 --- Compiled fine until r144617, starting with r144618 gave R.ii:2: error: âB::câ cannot appear in a constant-expression R.ii:2: error: template argument 1 is invalid and starting with r154042 started ICEing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44587