www.digitalmars.com         C & C++   DMDScript  

D - internal error with -O

This is really odd, I think.
The included file compiles and runs perfectly when compiled w/o -O, but when
I do -O, I get "Internal error: ..\ztc\el.c 1992". I don't send just a piece
of code because I have no idea where the error could be.

(
What the program does: it's an implementation of a really simple board turn
game, where the objective is to avoid the other player from moving any of
his/her pieces. It's played on this board:
P1        P1
 |  \   /  |
 |    o    |
 |  /   \  |
P2 ----- P2
The program randomly chooses whether it should start or not. The pieces are
moved by specifying the number of the position of the piece.
)

-------------------------
Carlos Santander


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.507 / Virus Database: 304 - Release Date: 2003-08-04


begin 666 jueguito2.d
M:6UP;W)T(&,N<W1D:6\L(')A;F1O;2 O*BP <VEG;F%L*B\[#0H-"F)I=%M=
M6UT 8V]N/5M;9F%L<V4L=')U92 L=')U92 L=')U92 L=')U92!=+ T*"0D)
M6W1R=64 +&9A;'-E+&9A;'-E+'1R=64 +&9A;'-E72P-" D)"5MT<G5E("QF
M86QS92QF86QS92QF86QS92QT<G5E(%TL#0H)"0E;=')U92 L=')U92 L9F%L
M<V4L9F%L<V4L=')U92!=+ T*"0D)6W1R=64 +&9A;'-E+'1R=64 +'1R=64 
M+&9A;'-E75T[#0IU8GET95M=($$]6S$L,ETL0CU;,RPT73L-"G5B>71E('9A
M8VEO/3 [#0H-"G9O:60 ;6%I;B I('L-" EV;VED('-W87 H:6YO=70 =6)Y
M=&4 >"QI;F]U="!U8GET92!Y*2![#0H)"75B>71E('0]>#L >#UY.R!Y/70[
M#0H)?0T*"0T*"6)Y=&4 979A;'5A<BAU8GET92!P;W,I('L-" D):68 *"%C
M;VY;0EMP;W-=75MV86-I;UTI#0H)"0ER971U<FX +3$[#0H)"75B>71E6UT 
M6#U"+F1U<#L-" D)=6)Y=&4 =CUV86-I;SL-" D)<W=A<"A86W!O<UTL=BD[
M#0H)"6)Y=&4 <F5S/3([#0H)"6EF("AC;VY;05LP75U;=ETI(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