public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/22603] New: internal compiler error: in pop_binding, at cp/name-lookup.c:380
@ 2005-07-22 2:32 flash at pobox dot com
2005-09-27 16:08 ` [Bug c++/22603] [4.0 Regression] ICE " mmitchel at gcc dot gnu dot org
0 siblings, 1 reply; 4+ messages in thread
From: flash at pobox dot com @ 2005-07-22 2:32 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3219 bytes --]
The invalid code below results in "internal compiler error: in pop_binding, at cp/name-lookup.c:380"
with a checking version of GCC 4.0.1. Does not happen with GCC 3.3.4.
class NameOne : public static_small_value
{
inline NameOne(T v) {
}
{
};
template<class KEY, class VALUE>
class NameTwo : private NameThree
{
void NameFour(const struct NameFive &cache);
This code is a greatly-reduced (and anonymized) excerpt, found by Daniel Wilkerson's Delta, from some
real PalmSource code; I'm not sure it makes any sense at all. The original code seemed to give a
different compiler error, which I'll try to file separately; though it involves 16K lines of proprietary code,
so it may have to wait for our CodeSourcery support agreement.
===========
Session:
117> /opt/gcc401chk/bin/g++ -v /Projects/PlatformTools/compilerChain/tests/cpp/bugfiles/error/
104911_HtmlView_min.ii
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure --enable-checking --prefix=/opt/gcc401chk --enable-languages=c,c+
+
Thread model: posix
gcc version 4.0.1
/opt/gcc401chk/libexec/gcc/i686-pc-linux-gnu/4.0.1/cc1plus -fpreprocessed /Projects/
PlatformTools/compilerChain/tests/cpp/bugfiles/error/104911_HtmlView_min.ii -quiet -dumpbase
104911_HtmlView_min.ii -mtune=pentiumpro -auxbase 104911_HtmlView_min -version -o /tmp/
ccKTKYmH.s
GNU C++ version 4.0.1 (i686-pc-linux-gnu)
compiled by GNU C version 3.3.4 (pre 3.3.5 20040809).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
/Projects/PlatformTools/compilerChain/tests/cpp/bugfiles/error/104911_HtmlView_min.ii:2: error:
expected class-name before { token
/Projects/PlatformTools/compilerChain/tests/cpp/bugfiles/error/104911_HtmlView_min.ii:3: error:
expected `)' before v
/Projects/PlatformTools/compilerChain/tests/cpp/bugfiles/error/104911_HtmlView_min.ii:5: error:
expected unqualified-id before { token
/Projects/PlatformTools/compilerChain/tests/cpp/bugfiles/error/104911_HtmlView_min.ii:9: error:
expected class-name before { token
/Projects/PlatformTools/compilerChain/tests/cpp/bugfiles/error/104911_HtmlView_min.ii:10: error:
expected `}' at end of input
/Projects/PlatformTools/compilerChain/tests/cpp/bugfiles/error/104911_HtmlView_min.ii:10: error:
expected unqualified-id at end of input
/Projects/PlatformTools/compilerChain/tests/cpp/bugfiles/error/104911_HtmlView_min.ii:10: internal
compiler error: in pop_binding, at cp/name-lookup.c:380
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
PalmSource bug 104911
--
Summary: internal compiler error: in pop_binding, at cp/name-
lookup.c:380
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: flash at pobox dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22603
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-10-14 16:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-22603-8581@http.gcc.gnu.org/bugzilla/>
2005-10-13 11:51 ` [Bug c++/22603] [4.0 Regression] ICE in pop_binding, at cp/name-lookup.c:380 nathan at gcc dot gnu dot org
2005-10-14 16:00 ` cvs-commit at gcc dot gnu dot org
2005-10-14 16:02 ` nathan at gcc dot gnu dot org
2005-07-22 2:32 [Bug c++/22603] New: internal compiler error: " flash at pobox dot com
2005-09-27 16:08 ` [Bug c++/22603] [4.0 Regression] ICE " mmitchel at gcc dot gnu dot org
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).