[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-bugs
Subject: New ICE ...
From: Carlo Wood <carlo () runaway ! xs4all ! nl>
Date: 1999-10-25 23:58:04
[Download RAW message or body]
Hiya,
I got a new ICE - although its in the same part of libcw that I've
reported two ICE's for before (not fixed correctly? Or really a new
one?).
Having spend a whole evening cutting down 1000 lines of code to this,
--
Carlo Wood <carlo@runaway.xs4all.nl>
---------------------------------------------------------------------------
struct A {
template<class B, typename T> void operator()(void (B::*)(T)) { }
};
struct B {
template<typename T> void foo(T);
void f(void);
};
void B::f(void)
{
A a;
a(&B::foo<int>);
}
---------------------------------------------------------------------------
~/c++/libcw/src/kernel/tests>g++ -v -c bug.cc
Reading specs from /usr/lib/gcc-lib/i686-redhat-linux/2.95.1/specs
gcc version 2.95.1 19990816/Linux (release)
/usr/lib/gcc-lib/i686-redhat-linux/2.95.1/cpp -lang-c++ -v -D__GNUC__=2 -D__GNUG__=2 \
-D__GNUC_MINOR__=95 -D__cplusplus -D__ELF__ -Dunix -D__i386__ -Dlinux -D__ELF__ \
-D__unix__ -D__i386__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__EXCEPTIONS \
-Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di686 -Dpentiumpro -D__i686 \
-D__i686__ -D__pentiumpro -D__pentiumpro__ bug.cc /tmp/cctiF3Jj.ii GNU CPP version \
2.95.1 19990816/Linux (release) (i386 Linux/ELF) #include "..." search starts here:
#include <...> search starts here:
/usr/lib/gcc-lib/i686-redhat-linux/2.95.1/../../../../include/g++-3
/usr/local/include
/usr/lib/gcc-lib/i686-redhat-linux/2.95.1/include
/usr/include
End of search list.
The following default directories have been omitted from the search path:
/usr/lib/gcc-lib/i686-redhat-linux/2.95.1/../../../../i686-redhat-linux/include
End of omitted list.
/usr/lib/gcc-lib/i686-redhat-linux/2.95.1/cc1plus /tmp/cctiF3Jj.ii -quiet -dumpbase \
bug.cc -version -o /tmp/ccudGOQy.s GNU C++ version 2.95.1 19990816/Linux (release) \
(i686-redhat-linux) compiled by GNU C version 2.95.1 19990816/Linux \
(release).
bug.cc: In method `void B::f()':
bug.cc:13: Internal compiler error.
bug.cc:13: Please submit a full bug report.
bug.cc:13: See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for \
instructions.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic