Assembler error

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Assembler error
Дата
Msg-id 200306272315.h5RNFEn09899@candle.pha.pa.us
обсуждение исходный текст
Ответы Re: Assembler error  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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'
insteadof `%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@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "scott.marlowe"
Дата:
Сообщение: Re: Tablespaces (was Re: [GENERAL] Physical Database
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Possible mistake in new array syntax