public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/5123: tree check: expected identifier_node, have template_id_expr in build_component_ref, at cp/typeck.c:2133
@ 2001-12-28 11:02 nathan
  0 siblings, 0 replies; 4+ messages in thread
From: nathan @ 2001-12-28 11:02 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nathan, nobody, wanderer

Synopsis: tree check: expected identifier_node, have template_id_expr in build_component_ref, at cp/typeck.c:2133

Responsible-Changed-From-To: unassigned->nathan
Responsible-Changed-By: nathan
Responsible-Changed-When: Fri Dec 28 11:02:53 2001
Responsible-Changed-Why:
    patch in progress

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5123


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: c++/5123: tree check: expected identifier_node, have template_id_expr in build_component_ref, at cp/typeck.c:2133
@ 2002-01-02  4:51 nathan
  0 siblings, 0 replies; 4+ messages in thread
From: nathan @ 2002-01-02  4:51 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nathan, wanderer

Synopsis: tree check: expected identifier_node, have template_id_expr in build_component_ref, at cp/typeck.c:2133

State-Changed-From-To: analyzed->closed
State-Changed-By: nathan
State-Changed-When: Wed Jan  2 04:51:28 2002
State-Changed-Why:
    2002-01-02  Nathan Sidwell  <nathan@codesourcery.com>
    
    	PR c++/5123
    	* typeck.c (build_component_ref): Cope with a TEMPLATE_ID_EXPR.
    	(build_x_function_call): Cope with a COMPONENT_REF containing a
    	TEMPLATE_ID_EXPR.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5123


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: c++/5123: tree check: expected identifier_node, have template_id_expr in build_component_ref, at cp/typeck.c:2133
@ 2001-12-18 15:34 nathan
  0 siblings, 0 replies; 4+ messages in thread
From: nathan @ 2001-12-18 15:34 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, wanderer

Synopsis: tree check: expected identifier_node, have template_id_expr in build_component_ref, at cp/typeck.c:2133

State-Changed-From-To: open->analyzed
State-Changed-By: nathan
State-Changed-When: Tue Dec 18 15:34:25 2001
State-Changed-Why:
    confirmed, 3.0 regression

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5123


^ permalink raw reply	[flat|nested] 4+ messages in thread

* c++/5123: tree check: expected identifier_node, have template_id_expr in build_component_ref, at cp/typeck.c:2133
@ 2001-12-14 14:56 wanderer
  0 siblings, 0 replies; 4+ messages in thread
From: wanderer @ 2001-12-14 14:56 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5123
>Category:       c++
>Synopsis:       tree check: expected identifier_node, have template_id_expr in build_component_ref, at cp/typeck.c:2133
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 14 14:56:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     wanderer@rsu.ru
>Release:        gcc version 3.1 20011214 (experimental)
>Organization:
>Environment:
i386-unknown-freebsd4.4
>Description:
Current cvs gcc ICE at illegal code:

struct C {
 template<class T> T f() { return 0; }
};

int main() {
  C c;
  if(c.f<int>!=0) return 1 // ICE (missing "()")
  C* cp = &c;
  if(cp->f<int>!=0) return 1 // ICE also 
  return 0;
};

with message:

bug.cc: In function `int main()':
bug.cc:8: tree check: expected identifier_node, have template_id_expr in
   build_component_ref, at cp/typeck.c:2133

This bug related (maybe) to close but not fixed PR4987.

Vladimir Merzliakov
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-01-02 12:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-28 11:02 c++/5123: tree check: expected identifier_node, have template_id_expr in build_component_ref, at cp/typeck.c:2133 nathan
  -- strict thread matches above, loose matches on Subject: below --
2002-01-02  4:51 nathan
2001-12-18 15:34 nathan
2001-12-14 14:56 wanderer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).