Silverfrost Forums

Welcome to our forums

Compiler Bug?

26 Mar 2011 6:29 #7973

the errors below are with version 6 of salford compiler and version 4.3 of Plato when compiling SPheno3.0 (W.Porod) particle physics code (after some variable naming tweaks this is the last remaining error) It may be some variable type conflict ..... any suggestions or will I have to wait for a new compiler version ? thanks charan aulakh

Access violation: The instruction at address 00502a18 attempted to read from location 00000008 00501a9c final_tree_pass(<ref>structÄtree_ptr,int) [+0f7c] [recur= 56]

00416e11 end_function(int) [+0d9e]

00418c00 parse_end_statement(<ptr>char,int,<ref>int) [+0b89]

004124a7 handle_token(<ptr>char,int,int,int,int,<ref>int) [+0e6b]

00405193 ProcessEntireLine(void) [+068f]

004061db compile(<ptr>char) [+013e]

00401000 main [+04bd]

0055b682 SALFStart [+06ff]

eax=0a33b8e0 ebx=00000002 ecx=0000003a edx=0000000c esi=0a33b910 edi=00000000 ebp=03cdc1e8 esp=03cdc104 IOPL=0 ds=0023 es=0023 fs=003b gs=0000 cs=001b ss=0023 flgs=00210297 [CA EP NZ NS DN NV] 0360/4020 TSTK=0 [ ] 00502a18 cmp [edi+0x8],0xd

00502a1c jne 502a83

Compilation completed with no errors.

26 Mar 2011 6:37 #7974

This output reveals a bug in the compiler but I will need your program in order to fix the bug. Please see if you can cut down your program so that it still causes this failure but is small enough to post here on the forum.

Please login to reply.