I am seeing this assembler warning using gcc version 2.95.3 20010315:

 {standard input}:332: Warning: using `%si' instead of `%esi' due to `w' uffix
 {standard input}:332: Warning: using `%ax' instead of `%eax' due to `w' suffix

This is while compiling commands/trigger.c and it happens in
CreateTrigger().  The actual assember instruction is marked below.  Any
ideas if our code is somehow triggering this warning?

I believe it is this line of C code:

    TRIGGER_CLEAR_TYPE(tgtype);
--> if (stmt->before)
        TRIGGER_SETT_BEFORE(tgtype);
 
---------------------------------------------------------------------------

.L22:
        call newoid
        movl %eax,-404(%ebp)
        movl 8(%ebp),%ecx
        cmpb $0,26(%ecx)
        je .L24
        pushl %eax
        pushl $.LC7
        pushl $64
        leal -360(%ebp),%ebx
        pushl %ebx
        call snprintf
        movl %ebx,-412(%ebp)
        movl 8(%ebp),%eax
        movl 4(%eax),%eax
        movl %eax,-416(%ebp)
        addl $16,%esp
        jmp .L25
        .p2align 4,,7
.L24:
        movl 8(%ebp),%edx
        movl 4(%edx),%edx
        movl %edx,-412(%ebp)
        movl $.LC8,-416(%ebp)
.L25:
        movl 8(%ebp),%ecx
        cmpb $0,20(%ecx)
        setne %al
        andl $255,%eax
        movl %eax,%esi
-->     addw %eax,%esi
        cmpb $0,21(%ecx)
        je .L27
        orl $1,%esi

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to