Skip site navigation (1) Skip section navigation (2)

Assembler error

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Assembler error
Date: 2003-06-27 23:15:14
Message-ID: (view raw or whole thread)
Lists: pgsql-hackers
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:

--> if (stmt->before)

        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
        movl 8(%ebp),%edx
        movl 4(%edx),%edx
        movl %edx,-412(%ebp)
        movl $.LC8,-416(%ebp)
        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                        |
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073


pgsql-hackers by date

Next:From: eleinDate: 2003-06-27 23:40:53
Subject: Re: PlPython
Previous:From: scott.marloweDate: 2003-06-27 22:15:36
Subject: Re: Tablespaces (was Re: [GENERAL] Physical Database

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group