Re: pgsql: Suppress some "variable might be clobbered by longjmp" warnings.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Suppress some "variable might be clobbered by longjmp" warnings.
Дата
Msg-id 26282.1299734223@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Suppress some "variable might be clobbered by longjmp" warnings.  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: pgsql: Suppress some "variable might be clobbered by longjmp" warnings.
Список pgsql-committers
Bruce Momjian <bruce@momjian.us> writes:
> Tom Lane wrote:
>> Suppress some "variable might be clobbered by longjmp" warnings.
>>
>> Seen with an older gcc version.  I'm not sure these represent any real
>> risk factor, but still a bit scary.  Anyway we have lots of other
>> volatile-marked variables in this code, so a couple more won't hurt.

> I assume you saw my comment in basebackup.c:

>      *  Some old compilers, e.g. gcc 2.95.3/x86, think that passing
>      *  a struct in the same function as a longjump might clobber
>      *  a variable.  bjm 2011-02-04
>      *  http://lists.apple.com/archives/xcode-users/2003/Dec//msg00051.html

Curious that you're getting different warnings with that than I get
with HPPA 2.95.3.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: replication/repl_gram.h needs to be cleaned too ...
Следующее
От: Itagaki Takahiro
Дата:
Сообщение: pgsql: Cleanup copyright years and file names in the header comments of