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: 200306272315.h5RNFEn09899@candle.pha.pa.us (view raw or flat)
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:

    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
  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

Responses

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-2014 The PostgreSQL Global Development Group