This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/16904] [3.3/3.4/3.5 regression] ICE in finish_class_member_access_expr, at cp/typeck.c:1945


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-08-06 23:58 -------
The following example is even smaller,
and it crashes the compiler since gcc 3.3:

================================
template<typename T> struct X
{
    X() { this->T::i; }
};

X<int> x;
================================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Keywords|                            |monitored
      Known to work|                            |3.2.3
            Summary|[3.4/3.5 regression] ICE in |[3.3/3.4/3.5 regression] ICE
                   |finish_class_member_access_e|in
                   |xpr, at cp/typeck.c:1945    |finish_class_member_access_e
                   |                            |xpr, at cp/typeck.c:1945


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]