Internal C++ error on a P3 running Win98SE (1/2)

Andris Pavenis andris@stargate.astr.lu.lv
Tue Nov 30 23:39:00 GMT 1999


I haven't tested it with DJGPP binaries of gcc-2.95.2 (have to reboot to test)
but under Linux I got following results from preprocessed sources:

	egcs-1.1.2   - compiles Ok 
	gcc-2.95.2   - I'm getting internal compiler error
	gcc-2.95.1 cross-compiler under Linux - Internal compiler error	 
	gcc-2.96 19991114 - compiles Ok

So seems it's real gcc-2.95.X problem which is likely to be fixed in
current CVS version.

Andris


On Fri, 19 Nov 1999, Steven Anthony Uy wrote:
> 
> I am running GXX v2.952 on a P3 running Win98SE.
> 
> gxx -v --save-temps -c -O6 -I../include -oself.o self.cpp
> Reading specs from c:/djgpp/lib/specs
> gcc version 2.95.2 19991024 (release)
>   c:/djgpp/lib/gcc-lib/djgpp/2.952/cpp.exe -lang-c++ -v -I../include 
> -isystem c:/
> djgpp/bin/include -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 
> -D__cplusplus -D
> unix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=2 -D__unix__ -D__i386__ 
> -D__G
> O32__ -D__MSDOS__ -D__DJGPP__=2 -D__DJGPP_MINOR__=2 -D__unix -D__i386 
> -D__GO32 -
> D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=2 -D__EXCEPTIONS -D__OPTIMIZE__ 
> self.cpp se
> lf.ii
> GNU CPP version 2.95.2 19991024 (release) (80386, BSD syntax)
> #include "..." search starts here:
> #include <...> search starts here:
>   ../include
>   c:/djgpp/lang/cxx
>   c:/djgpp/include
>   c:/djgpp/lang/cxx
>   c:/djgpp/lib/gcc-lib/djgpp/2.952/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.952/../../../../djgpp/include
> End of omitted list.
>   c:/djgpp/lib/gcc-lib/djgpp/2.952/cc1plus.exe self.ii -m486 
> -malign-jumps=2 -mal
> ign-loops=2 -malign-functions=2 -m486 -malign-jumps=2 -malign-loops=2 
> -malign-fu
> nctions=2 -quiet -dumpbase self.cc -O6 -version -o self.s
> GNU C++ version 2.95.2 19991024 (release) (djgpp) compiled by GNU C version 
> 2.95
> .2 19991024 (release).
> .../include/drug.h: In method `self::self(double, double, double)':
> .../include/drug.h:81: internal error--insn does not satisfy its constraints:
> ((insn 250 21 256 (set (reg:SI 2 %ecx)
>          (reg:SI 32)) 48 {movsi+2} (nil)
>      (nil))
> make.exe: *** [self.o] Error 1
> 
> Oh, yeah; in case it's relevant, I got bored and started work to recreate 
> John E. Dell's game Drugwars from 1984.
> 
> I hope that explains the unusual function names.  ^_^
> 

----------------------------------------
Content-Type: application/octet-stream; name="self.ii.bz2"
Content-Transfer-Encoding: base64
Content-Description: 
----------------------------------------

----------------------------------------
Content-Type: text/plain; name="unnamed"
Content-Transfer-Encoding: 7bit
Content-Description: 
----------------------------------------



More information about the Gcc-bugs mailing list