Re: Phix : a conundrum

new topic     » goto parent     » topic index » view thread      » older message » newer message

Obviously that is a bug in the compiler. As buggy as a bug can be.

For some reason the compiler has decided that inpfile is always length 0 in main(), and rudely optimized away the second loop.

As a temporary fix, you could inpfile = append(inpfile,1), either immediately after the declaration, or as the first statement in main(), knowing that 1 will be thrown away, while I'm hunting it down.

FYI, you can compare the list.asm from p -d scopetest.exw with one from p -d! scopetest.exw and see the binary (in main()) is, well, gone.

Regards,
Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu