public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hjl dot tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/45043] [4.4/4.5/4.6 Regression] ICE: tree check: expected identifier_node, have bit_not_expr in grokdeclarator, at cp/decl.c:8113 on invalid code Date: Sat, 24 Jul 2010 23:03:00 -0000 [thread overview] Message-ID: <20100724230246.14088.qmail@sourceware.org> (raw) In-Reply-To: <bug-45043-14164@http.gcc.gnu.org/bugzilla/> ------- Comment #2 from hjl dot tools at gmail dot com 2010-07-24 23:02 ------- It failed for me with gcc 4.2.0 and 4.3.0: [hjl@gnu-26 rrs]$ cat pr45043.cc template < typename > class A; template < typename T > A < T >::B::~B () {} [hjl@gnu-26 rrs]$ /export/gnu/import/rrs/117167/usr/bin/gcc -S pr45043.cc pr45043.cc:2: error: \u2018A< <template-parameter-1-1> >::B\u2019 is not a type pr45043.cc:2: internal compiler error: tree check: expected identifier_node, have bit_not_expr in grokdeclarator, at cp/decl.c:7178 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. [hjl@gnu-26 rrs]$ /export/gnu/import/rrs/117167/usr/bin/gcc -v Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../src/configure --prefix=/export/gnu/import/rrs/117167/usr --enable-clocale=gnu --with-system-zlib --with-demangler-in-ld --enable-shared --enable-threads=posix --enable-haifa --enable-checking --enable-languages=c,c++,fortran --disable-bootstrap Thread model: posix gcc version 4.2.0 20060923 (experimental) [hjl@gnu-26 rrs]$ /export/gnu/import/rrs/125623/usr/bin/gcc -v Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../src/configure --prefix=/export/gnu/import/rrs/125623/usr --enable-clocale=gnu --with-system-zlib --with-demangler-in-ld --enable-shared --enable-threads=posix --enable-haifa --enable-checking --enable-languages=c,c++,fortran --disable-bootstrap Thread model: posix gcc version 4.3.0 20070611 (experimental) [hjl@gnu-26 rrs]$ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45043
next prev parent reply other threads:[~2010-07-24 23:03 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-07-23 14:15 [Bug c++/45043] New: " zsojka at seznam dot cz 2010-07-24 20:39 ` [Bug c++/45043] [4.4/4.5/4.6 Regression] " pinskia at gcc dot gnu dot org 2010-07-24 23:03 ` hjl dot tools at gmail dot com 2010-07-24 23:03 ` hjl dot tools at gmail dot com [this message] 2010-08-30 15:51 ` rguenth at gcc dot gnu dot org 2010-08-30 16:29 ` paolo dot carlini at oracle dot com 2010-08-30 18:14 ` paolo at gcc dot gnu dot org 2010-08-30 18:15 ` [Bug c++/45043] [4.4/4.5 " paolo dot carlini at oracle dot com
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=20100724230246.14088.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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).