egcs bug reporting.
Pavel Minev Penev
kal_pav@sz.techno-link.com
Tue May 18 03:12:00 GMT 1999
Dear egcs authors,
I would like to announce you of an egcs v.2.91.66 19990314 (egcs-1.1.2
release) strange behaviour.
The compiler returns an error on a source which compiler correctly by
Borland C++ 5.01. EGCS does
not bug for small examples. Here is what happens:
# g++ -v --save-temps -Wall g3_t0.cc
Reading specs from
/usr/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
/usr/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.91.66/cpp
-lang-c++ -v
-undef
-D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=91 -D__ELF__
-Dunix -Di386 -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__
-D__i386__
-D__linux__ -D__unix -D__i386 -D__linux -Asystem(posix) -D__EXCEPTIONS
-Wall
-Asystem(unix) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__
-Di586
-Dpentium
-D__i586 -D__i586__ -D__pentium -D__pentium__ g3_t0.cc g3_t0.ii
GNU CPP version egcs-2.91.66 19990314 (egcs-1.1.2 release) (i386
Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
/usr/local/ui/gui/kde/qt-1.40/include
/usr/local/include
/root/prod/c++/include
/usr/local/include/g++
/usr/local/include
/usr/local/i586-pc-linux-gnulibc1/include
/usr/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.91.66/include
/usr/include
End of search list.
/usr/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.91.66/cc1plus
g3_t0.ii
-quiet -dumpbase
g3_t0.cc -Wall -version -o g3_t0.s
GNU C++ version egcs-2.91.66 19990314 (egcs-1.1.2 release)
(i586-pc-linux-gnulibc1) compiled
by GNU C version egcs-2.90.29 980515 (egcs-1.0.3 release).
g3.h: In method Char
tpc_g3<tps_g3_node,tp_g3_node_subnodescounter,tp_g3_nodescounter,initstaticvars
&, const tps_g3_node &)':
In file included from g3_t0.cc:1:
g3.h:220: parse error before Return'
g3.h:227: confused by earlier errors, bailing out
My PROCESSOR is AMD-K5 PR100, stepping 01 so my MACHINE is set to i586.
My OS is Slakware 3.5 Linux distribution with kernel 2.2.7.
A bug report and source files shold be attached.
P.S.: If there is a newer version of egcs or something like that, please
just reply me in a word or so, something like "version!" ( I would hate
to waste your time for such a thing! )!
Your fan:
Pavel M. Penev
testsources.tar.bz2
bugreport.tar.bz2
More information about the Gcc-bugs
mailing list