[Bug c++/43206] [4.5 Regression] Revision 145440 caused ICE at cp/pt.c:9249
--- Comment #6 from dodji at gcc dot gnu dot org 2010-03-26 09:30 --- Fixed in 4.5 The bootstrap failure should be fixed by http://gcc.gnu.org/viewcvs?view=revisionrevision=157743 -- dodji at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43206
[Bug c++/43206] [4.5 Regression] Revision 145440 caused ICE at cp/pt.c:9249
--- Comment #4 from dodji at gcc dot gnu dot org 2010-03-25 22:08 --- Subject: Bug 43206 Author: dodji Date: Thu Mar 25 22:08:33 2010 New Revision: 157730 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157730 Log: Fix candidate for PR c++/43206 gcc/cp/ChangeLog: PR c++/43206 * cp-tree.h (get_template_parms_at_level): Declare ... * pt.c (get_template_parms_at_level): ... new function. * typeck.c (get_template_parms_of_dependent_type): If a template type parm's DECL_CONTEXT isn't yet set, get its siblings from current_template_parms. Use get_template_parms_at_level. Remove useless test. (incompatible_dependent_types_p): If we get empty parms from just one of the template type parms we are comparing then the template parms are incompatible. gcc/testsuite/ChangeLog: PR c++/43206 * g++.dg/template/typedef30.C: New test case. Added: trunk/gcc/testsuite/g++.dg/template/typedef30.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-tree.h trunk/gcc/cp/pt.c trunk/gcc/cp/typeck.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43206
[Bug c++/43206] [4.5 Regression] Revision 145440 caused ICE at cp/pt.c:9249
--- Comment #5 from hjl dot tools at gmail dot com 2010-03-26 00:27 --- It failed to bootstrap on Linux/ia32: cc1: warnings being treated as errors ../../src-trunk/gcc/cp/pt.c: In function 'get_template_parms_at_level': ../../src-trunk/gcc/cp/pt.c:2851:16: error: comparison between signed and unsigned integer expressions ../../src-trunk/gcc/cp/pt.c:2855:30: error: comparison between signed and unsigned integer expressions -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43206
[Bug c++/43206] [4.5 Regression] Revision 145440 caused ICE at cp/pt.c:9249
--- Comment #3 from dodji at gcc dot gnu dot org 2010-03-05 20:40 --- A patch was proposed at http://gcc.gnu.org/ml/gcc-patches/2010-03/msg00226.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43206
[Bug c++/43206] [4.5 Regression] Revision 145440 caused ICE at cp/pt.c:9249
--- Comment #2 from dodji at gcc dot gnu dot org 2010-03-04 17:44 --- I am testing a patch for this ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43206
[Bug c++/43206] [4.5 Regression] Revision 145440 caused ICE at cp/pt.c:9249
-- dodji at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |dodji at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Last reconfirmed|2010-03-01 10:59:37 |2010-03-03 15:43:13 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43206
[Bug c++/43206] [4.5 Regression] Revision 145440 caused ICE at cp/pt.c:9249
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-03-01 10:59 --- Confirmed. The testcase is invalid (apart from the missing semi-colon): t.ii(9): error: class Imagefloat has no member PixelType templatetypename TInputImage, typename TOutputImage=Image CovariantVector typename NumericTraits typename TInputImage ::PixelType ::TInputImage ^ detected during processing of template argument list for XXX based on template argument Imagefloat at line 12 or 4.4: t.ii:12: error: no type named 'PixelType' in 'class Imagefloat' t.ii:12: error: template argument 2 is invalid t.ii:12: error: invalid type in declaration before ';' token -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords||ice-on-invalid-code Known to work||4.4.3 Last reconfirmed|-00-00 00:00:00 |2010-03-01 10:59:37 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43206
[Bug c++/43206] [4.5 Regression] Revision 145440 caused ICE at cp/pt.c:9249
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43206
[Bug c++/43206] [4.5 Regression] Revision 145440 caused ICE at cp/pt.c:9249
-- hjl dot tools at gmail dot com changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43206