[fpc-devel] Problems with fixes_2_0 rev. 2824

Martin Schreiber fpmse at bluewin.ch
Sat Mar 11 12:19:55 CET 2006

On Friday 10 March 2006 13.06, Peter Vreman wrote:
> > Hi,
> > Are there any known problems with FPC fixes_2_0 rev. 2824?
> > I get many AV's, error 204's and other strange things.
> There are no regressions in the building and in the testsuite.
The problem is probably in rtl/i386/i386.inc:

Procedure fpc_AnsiStr_Decr_Ref (Var S : Pointer); 
[Public,Alias:'FPC_ANSISTR_DECR_REF']; compilerproc; nostackframe; assembler;
        movl    %edx,%eax
        call    cpudeclocked
        movb    %al,%al       <<<<<<<     !!!!!!!!!!!!!!!!
        je      .Lj3605
        movl    (%esp),%eax
        movl    (%eax),%eax
        subl    $8,%eax
        call    FPC_FREEMEM_X
        movl    (%esp),%eax
        movl    $0,(%eax)


More information about the fpc-devel mailing list