This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc 2.9.5 bug -- mvp-0-2


This file leaks memory badly if compiled -O2 but not with -O0.  The problem also
goes away if the string class stuff is recoded with sprintf.  The command line
and compiler log messages from the --save-temps run are appended below.  The
resulting algoinit.ii preprocessed source was gzip'd, uuencode'd, and split into
two pieces which follow in separate mesages with subjects of mvp-1-2 and mvp-2-2.

I am happy to help further if needed, but since we do have a workaround, I do
not plan on investigating further unless requested.

Thanks,
	Allan Frankel, allan@visionpro.com




/usr/local/gcc-295/bin/g++ -v --save-temps -c -fPIC -g -mcpu=v8 -mtune=ultrasparc -DSVR4 -D_POSIX_C_SOURCE=199506L -DTHREAD -D__EXTENSIONS__ -I/usr/dt/include -I/usr/openwin/include -DUNIXHOST  -pipe -ansi -pedantic -Wconversion -Wimplicit -Wsign-compare  -D_G_NO_EXTERN_TEMPLATES -DWARNINGS  -I../../.././include/libinc -I../../.././include/localinc -I../../.././remote/localinc algoinit.c -o algoinit.o 




g++: Warning: -pipe ignored since -save-temps specified
Reading specs from /usr/local/gcc-295/lib/gcc-lib/sparc-sun-solaris2/2.95.2/specs
gcc version 2.95.2 19991024 (release)
 /usr/local/gcc-295/lib/gcc-lib/sparc-sun-solaris2/2.95.2/cpp -lang-c++ -v -I/usr/dt/include -I/usr/openwin/include -I../../.././include/libinc -I../../.././include/localinc -I../../.././remote/localinc -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -trigraphs -D__STRICT_ANSI__ -D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun -D__unix -Asystem(unix) -Asystem(svr4) -D__EXCEPTIONS -g -Wconversion -Wimplicit -Wsign-compare -pedantic -D__sparc_v8__ -D__GCC_NEW_VARARGS__ -Acpu(sparc) -Amachine(sparc) -DSVR4 -D_POSIX_C_SOURCE=199506L -DTHREAD -D__EXTENSIONS__ -DUNIXHOST -D_G_NO_EXTERN_TEMPLATES -DWARNINGS algoinit.c algoinit.ii
GNU CPP version 2.95.2 19991024 (release) (sparc)
#include "..." search starts here:
#include <...> search starts here:
 /usr/dt/include
 /usr/openwin/include
 ../../../include/libinc
 ../../../include/localinc
 ../../../remote/localinc
 /usr/local/gcc-295/lib/gcc-lib/sparc-sun-solaris2/2.95.2/../../../../include/g++-3
 /usr/local/include
 /usr/local/gcc-295/lib/gcc-lib/sparc-sun-solaris2/2.95.2/../../../../sparc-sun-solaris2/include
 /usr/local/gcc-295/lib/gcc-lib/sparc-sun-solaris2/2.95.2/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
End of omitted list.
 /usr/local/gcc-295/lib/gcc-lib/sparc-sun-solaris2/2.95.2/cc1plus algoinit.ii -quiet -dumpbase algoinit.cc -mcpu=v8 -mtune=ultrasparc -g -Wconversion -Wimplicit -Wsign-compare -pedantic -ansi -version -fPIC -o algoinit.s
GNU C++ version 2.95.2 19991024 (release) (sparc-sun-solaris2) compiled by GNU C version 2.95.2 19991024 (release).
 /usr/local/gcc-295/sparc-sun-solaris2/bin/as -V -Qy -s -K PIC -o algoinit.o algoinit.s
GNU assembler version 2.9.1 (sparc-sun-solaris2), using BFD version 2.9.1

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]