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++/17068] [3.4/3.5 regression] ICE: tree check: expected class 'd', have 'x' (identifier_node) in dependent_template_p, at cp/pt.c:12043


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-08-17 19:55 -------
Confirmed. Here's a reduced code snippet:

=============================================
struct A
{
    template<int> void operator()() {}
};

template<typename> void foo()
{
    A().template operator()<0>();
}
=============================================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
  GCC build triplet|i386-unknown-freebsd4.10    |
   GCC host triplet|i386-unknown-freebsd4.10    |
 GCC target triplet|i386-unknown-freebsd4.10    |
           Keywords|                            |ice-on-valid-code, monitored
      Known to fail|                            |3.4.0 3.4.1 3.5.0
      Known to work|                            |3.3.4
   Last reconfirmed|0000-00-00 00:00:00         |2004-08-17 19:55:10
               date|                            |
            Summary|ICE: tree check: expected   |[3.4/3.5 regression] ICE:
                   |class 'd', have 'x'         |tree check: expected class
                   |(identifier_node) in        |'d', have 'x'
                   |dependent_template_p, at    |(identifier_node) in
                   |cp/pt.c:12043               |dependent_template_p, at
                   |                            |cp/pt.c:12043
   Target Milestone|---                         |3.4.2


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


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