This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Your monthly ICE report
- To: egcs-bugs at cygnus dot com
- Subject: Your monthly ICE report
- From: Carlo Wood <carlo at runaway dot xs4all dot nl>
- Date: Wed, 16 Dec 1998 16:49:50 +0100 (CET)
Hi again,
well I guess you get to see all my typos heheh.
Anyway - this buggy source code caused an internal compiler error:
-------------------------------------------------------------------------------
namespace libr {
namespace debug {
class debug_ct {
};
extern debug_ct object;
}; // namespace debug
}; // namespace libr
void foo(void)
{
int debug_should_be_on = !::libr::debug.object.is_off();
// ^__ should be a :: of course.
}
-------------------------------------------------------------------------------
~/c++/libr/src/kernel>g++ -v -c bug.cc
Reading specs from /usr/local/egcs/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.57/specs
gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
/usr/local/egcs/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.57/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=91 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__EXCEPTIONS -Asystem(unix) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di686 -Dpentiumpro -D__i686 -D__i686__ -D__pentiumpro -D__pentiumpro__ bug.cc /tmp/ccA7pwIc.ii
GNU CPP version egcs-2.91.57 19980901 (egcs-1.1 release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
/usr/local/egcs/include/g++
/usr/local/include
/usr/local/egcs/i686-pc-linux-gnu/include
/usr/local/egcs/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.57/include
/usr/include
End of search list.
/usr/local/egcs/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.57/cc1plus /tmp/ccA7pwIc.ii -quiet -dumpbase bug.cc -version -o /tmp/ccobf4sj.s
GNU C++ version egcs-2.91.57 19980901 (egcs-1.1 release) (i686-pc-linux-gnu) compiled by GNU C version egcs-2.91.57 19980901 (egcs-1.1 release).
bug.cc: In function `void foo()':
bug.cc:14: Internal compiler error 373.
bug.cc:14: Please submit a full bug report to `egcs-bugs@cygnus.com'.
--
Carlo Wood <carlo@runaway.xs4all.nl>