--- Comment #9 from hjl at gcc dot gnu dot org 2009-05-30 13:50 ---
Subject: Bug 40007
Author: hjl
Date: Sat May 30 13:49:33 2009
New Revision: 148004
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=148004
Log:
2009-05-30 H.J. Lu hongjiu...@intel.com
Backport from
--- Comment #7 from dodji at gcc dot gnu dot org 2009-05-26 10:35 ---
Subject: Bug 40007
Author: dodji
Date: Tue May 26 10:35:16 2009
New Revision: 147866
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=147866
Log:
Fix PR c++/40007
gcc/cp/ChangeLog:
PR c++/40007
--- Comment #8 from dodji at gcc dot gnu dot org 2009-05-26 10:36 ---
Fixed in trunk.
--
dodji at gcc dot gnu dot org changed:
What|Removed |Added
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40007
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40007
--- Comment #6 from jwakely dot gcc at gmail dot com 2009-05-17 14:05
---
(In reply to comment #4)
I am testing this patch at the moment.
Could you please test it in your environment and tell me if it helps at all ?
Yes, that patch works for the code I was working on.
--
--- Comment #4 from dodji at gcc dot gnu dot org 2009-05-16 16:18 ---
Created an attachment (id=17884)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17884action=view)
A candidate patch
I am testing this patch at the moment.
Could you please test it in your environment and tell me
--- Comment #5 from dodji at gcc dot gnu dot org 2009-05-16 16:39 ---
By the way, here what I think is happening.
During the parsing of
template
struct yvoid : public xvoid
{
typedef xvoid::type z;
};
We detect that xvoid::type is a use of a typedef that is a member of the
--
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
--- Comment #3 from jwakely dot gcc at gmail dot com 2009-05-08 20:52
---
Debugging cc1plus for this slightly reduced program:
templatetypename T
struct x
{
protected:
typedef int type;
};
templatetypename T
struct y : public xT
{
typename xT::type z;
};
template
struct
10 matches
Mail list logo