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]

Re: bug with template destructor



On Mon, 20 Aug 2001, Sami Junttila wrote:

> 
> Here's the compiler messages:
> 
> C:\WINNT\Profiles\juntsa\Personal>gcc -v -save-temps -c -Wall mapeffec.cpp
> Reading specs from c:/djgpp/lib/gcc-lib/djgpp/2.953/specs
> gcc version 2.95.3 20010315/djgpp (release)
>  c:/djgpp/lib/gcc-lib/djgpp/2.953/cpp0.exe -lang-c++ -v -D__GNUC__=2
> -D__GNUG__=
> 2 -D__GNUC_MINOR__=95 -D__cplusplus -Dunix -Di386 -DGO32 -DDJGPP=2 -DMSDOS
> -D__u
> nix__ -D__i386__ -D__GO32__ -D__DJGPP__=2 -D__MSDOS__ -D__unix -D__i386
> -D__GO32
>  -D__DJGPP=2 -D__MSDOS -Asystem(unix) -Asystem(msdos) -Acpu(i386)
> -Amachine(i386
> ) -D__EXCEPTIONS -Wall -Acpu(i386) -Amachine(i386) -Di386 -D__i386
> -D__i386__ -D
> __tune_pentium__ -imacros c:/djgpp/lib/djgpp.ver -remap mapeffec.cpp
> mapeffec.ii
> 
> GNU CPP version 2.95.3 20010315/djgpp (release) (80386, BSD syntax)
> #include "..." search starts here:
> #include <...> search starts here:
>  c:/djgpp/lang/cxx
>  c:/djgpp/lib/gcc-lib/djgpp/2.953/include
>  c:/djgpp/include
> End of search list.
> The following default directories have been omitted from the search path:
>  $DJDIR/lib/gcc-lib/djgpp/2.953/../../../../djgpp/include
> End of omitted list.
>  c:/djgpp/lib/gcc-lib/djgpp/2.953/cc1plus.exe mapeffec.ii -quiet -dumpbase
> mapef
> fec.cc -Wall -version -o mapeffec.s
> GNU C++ version 2.95.3 20010315/djgpp (release) (djgpp) compiled by GNU C
> versio
> n 2.95.3 20010315/djgpp (release).
> MapEffec.h: In instantiation of
> `tMapEffect<cShape_Rect,0>::~tMapEffect()':
> mapeffec.cpp:235:   instantiated from here
> MapEffec.h:398: Internal compiler error.
> MapEffec.h:398: Please submit a full bug report.
> MapEffec.h:398: See <URL:http://www.gnu.org/software/gcc/bugs.html> for
> instruct
> ions.
> 

Confirmed. I'm getting ICE with DJGPP port of gcc-2.95.3 (in DOS session
under Win98SE)

This problem doesn't happen with gcc-3.0.1 any more (preprocessed
sources only as included attachments didn't contain all needeed
.h files):

Reading specs from c:/djgpp/bin2/../lib/gcc-lib/djgpp/3.01/specs
Configured with: ../configure i586-pc-msdosdjgpp --prefix=/dev/env/DJDIR
--enable-languages=c,c++,f77,objc --disable-nls
Thread model: single
gcc version 3.0.1
 c:/djgpp/bin2/../lib/gcc-lib/djgpp/3.01/cc1plus.exe -fpreprocessed
mapeffec.ii -quiet -dumpbase mapeffec.ii -O2 -W -Wall -version -o
E:/TMP\ccdhm7vo.s
GNU CPP version 3.0.1 (cpplib) (80386, BSD syntax)
GNU C++ version 3.0.1 (djgpp)
	compiled by GNU C version 3.0.1.
 c:/djgpp/bin/as.exe --traditional-format -o mapeffec.o E:/TMP\ccdhm7vo.s

Andris



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