Re: longjmp clobber warnings are utterly broken in modern gcc
В списке pgsql-hackers по дате отправления:
| От | Heikki Linnakangas |
|---|---|
| Тема | Re: longjmp clobber warnings are utterly broken in modern gcc |
| Дата | |
| Msg-id | 54CE6702.3070503@vmware.com обсуждение исходный текст |
| Ответ на | Re: longjmp clobber warnings are utterly broken in modern gcc (Martijn van Oosterhout <kleptog@svana.org>) |
| Ответы |
Re: longjmp clobber warnings are utterly broken in modern gcc
|
| Список | pgsql-hackers |
On 02/01/2015 03:56 PM, Martijn van Oosterhout wrote: > If you want the compiler to catch this, I don't see any way without > requiring the code to indicate specifically which local variables it > intends to use, or not using the locals at all by using a seperate > cleanup function (as discussed elsewhere in this thread). With > information about the locals you might be able to conjure some GCC > macros to set things up to complain if you use anything else. I wonder how difficult it would be to teach e.g. clang static analyzer to catch this, rather than the compiler. - Heikki
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера