| От | Tom Lane |
|---|---|
| Тема | Re: volatile markings to silence compilers |
| Дата | |
| Msg-id | 12482.1300373777@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: volatile markings to silence compilers (Martijn van Oosterhout <kleptog@svana.org>) |
| Список | pgsql-hackers |
Martijn van Oosterhout <kleptog@svana.org> writes:
> It appears the issue is mostly that the compiler is unable to prove
> that the variables aren't changed.
IME, older versions of gcc will warn about any variable that's assigned
more than once, even if those assignments are before the setjmp call.
Presumably this is stricter than necessary, but I don't know enough
details of gcc's register usage to be sure.
> My point is, are we hopeful this problem will ever go away?
Since we're trying to silence the warning in existing and even obsolete
compilers, whether it gets improved in future compilers is not terribly
relevant.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера