[Bug c++/45200] [4.5/4.6 Regression] ICE in template instantiation

2010-09-07 Thread dodji at gcc dot gnu dot org


--- Comment #13 from dodji at gcc dot gnu dot org  2010-09-07 07:08 ---
Fixed in 4.5.2 and trunk (4.6).


-- 

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=45200



[Bug c++/45200] [4.5/4.6 Regression] ICE in template instantiation

2010-09-06 Thread dodji at gcc dot gnu dot org


--- Comment #11 from dodji at gcc dot gnu dot org  2010-09-06 18:44 ---
Subject: Bug 45200

Author: dodji
Date: Mon Sep  6 18:44:23 2010
New Revision: 163929

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163929
Log:
Patch PR c++/45200

Fix PR c++/45200, c++/45293, c++/45558

gcc/cp/Changelog:
PR c++/45200
PR c++/45293
PR c++/45558
* tree.c (strip_typedefs): Strip typedefs from the context of
TYPENAME_TYPEs.

gcc/testsuite/ChangeLog:
PR c++/45200
PR c++/45293
PR c++/45558
* g++.dg/template/typedef34.C: New test.
* g++.dg/template/typedef35.C: New test.

Added:
trunk/gcc/testsuite/g++.dg/template/typedef34.C
trunk/gcc/testsuite/g++.dg/template/typedef35.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/tree.c
trunk/gcc/cp/typeck.c
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45200



[Bug c++/45200] [4.5/4.6 Regression] ICE in template instantiation

2010-09-06 Thread dodji at gcc dot gnu dot org


--- Comment #12 from dodji at gcc dot gnu dot org  2010-09-06 18:50 ---
Subject: Bug 45200

Author: dodji
Date: Mon Sep  6 18:49:46 2010
New Revision: 163930

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163930
Log:
Patch PR c++/45200

Fix PR c++/45200, c++/45293, c++/45558

gcc/cp/Changelog:
PR c++/45200
PR c++/45293
PR c++/45558
* tree.c (strip_typedefs): Strip typedefs from the context of
TYPENAME_TYPEs.

gcc/testsuite/ChangeLog:
PR c++/45200
PR c++/45293
PR c++/45558
* g++.dg/template/typedef34.C: New test.
* g++.dg/template/typedef35.C: New test.

Added:
branches/gcc-4_5-branch/gcc/testsuite/g++.dg/template/typedef34.C
branches/gcc-4_5-branch/gcc/testsuite/g++.dg/template/typedef35.C
Modified:
branches/gcc-4_5-branch/gcc/cp/ChangeLog
branches/gcc-4_5-branch/gcc/cp/tree.c
branches/gcc-4_5-branch/gcc/cp/typeck.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45200



[Bug c++/45200] [4.5/4.6 Regression] ICE in template instantiation

2010-08-30 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45200



[Bug c++/45200] [4.5/4.6 Regression] ICE in template instantiation

2010-08-12 Thread dodji at gcc dot gnu dot org


--- Comment #10 from dodji at gcc dot gnu dot org  2010-08-12 13:40 ---
A better patch submitted to
http://gcc.gnu.org/ml/gcc-patches/2010-08/msg00842.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45200



[Bug c++/45200] [4.5/4.6 Regression] ICE in template instantiation

2010-08-10 Thread dodji at gcc dot gnu dot org


--- Comment #8 from dodji at gcc dot gnu dot org  2010-08-10 14:37 ---
*** Bug 44301 has been marked as a duplicate of this bug. ***


-- 

dodji at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||jewillco at osl dot iu dot
   ||edu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45200



[Bug c++/45200] [4.5/4.6 Regression] ICE in template instantiation

2010-08-10 Thread dodji at gcc dot gnu dot org


--- Comment #9 from dodji at gcc dot gnu dot org  2010-08-10 22:12 ---
(In reply to comment #7)
 Created an attachment (id=21443)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21443action=view) [edit]
 Candidate patch
 
 I am testing this patch atm that seems to be working for now.

It turned out the patch is not correct. I am looking at another way. 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45200



[Bug c++/45200] [4.5/4.6 Regression] ICE in template instantiation

2010-08-09 Thread dodji at gcc dot gnu dot org


--- Comment #7 from dodji at gcc dot gnu dot org  2010-08-09 23:56 ---
Created an attachment (id=21443)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21443action=view)
Candidate patch

I am testing this patch atm that seems to be working for now.


-- 

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


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45200



[Bug c++/45200] [4.5/4.6 Regression] ICE in template instantiation

2010-08-06 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 GCC target triplet|i686-pc-mingw32 |
   Keywords||ice-on-valid-code
  Known to fail||4.5.0 4.6.0
  Known to work||4.4.3
Summary|ICE in template |[4.5/4.6 Regression] ICE in
   |instantiation   |template instantiation
   Target Milestone|--- |4.5.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45200