public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: wanderer@rsu.ru To: gcc-gnats@gcc.gnu.org Subject: c++/5123: tree check: expected identifier_node, have template_id_expr in build_component_ref, at cp/typeck.c:2133 Date: Fri, 14 Dec 2001 14:56:00 -0000 [thread overview] Message-ID: <20011214225051.28696.qmail@sources.redhat.com> (raw) >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:
next reply other threads:[~2001-12-14 22:56 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-12-14 14:56 wanderer [this message] 2001-12-18 15:34 nathan 2001-12-28 11:02 nathan 2002-01-02 4:51 nathan
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20011214225051.28696.qmail@sources.redhat.com \ --to=wanderer@rsu.ru \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).