Re: [PATCH 0/3] Work around icc miscompilation

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: [PATCH 0/3] Work around icc miscompilation
Дата
Msg-id CAM-w4HN5GR9XZDg0g6j473rEdZCut=T5w4cO8hV23js4bNxvWA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH 0/3] Work around icc miscompilation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, Feb 23, 2013 at 5:25 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Really?  Can't "INT_MAX - a" overflow?

I guess I shouldn't have tried summarizing the code and just pasted
some real code in for fear of getting it wrong. I was thinking of
unsigned arithmetic when I wrote that.

The point being that the compiler isn't going to make optimization
based on code that comes later if that code wouldn't have run in the
same flow of execution.


-- 
greg



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: make: *** pg_xlogdump: No such file or directory. Stop.
Следующее
От: David Fetter
Дата:
Сообщение: Re: Show type in psql SELECT