Re: Woo hoo ... a whole new set of compiler headaches!!

Поиск
Список
Период
Сортировка
От Marc G. Fournier
Тема Re: Woo hoo ... a whole new set of compiler headaches!!
Дата
Msg-id 20050422121617.S1315@ganymede.hub.org
обсуждение исходный текст
Ответ на Re: Woo hoo ... a whole new set of compiler headaches!! :)  ("Dave Held" <dave.held@arrayservicesgrp.com>)
Список pgsql-hackers
On Fri, 22 Apr 2005, Dave Held wrote:

>> -----Original Message-----
>> From: Marc G. Fournier [mailto:scrappy@postgresql.org]
>> Sent: Friday, April 22, 2005 9:46 AM
>> To: Dave Held
>> Cc: pgsql-hackers@postgresql.org
>> Subject: Re: [HACKERS] Woo hoo ... a whole new set of compiler
>> headaches!! :)
>>
>> [...]
>> With GCC 4.x, there are new optimizations, and a while new set
>> of "unknowns" that we're going to possibly get bug reports for
>> ... and, it *is* a .0 major release for GCC,
>
> Yeah, I agree that the first version of a major release can be a
> bit hairy.
>
>> so there are bound to be bugs in their optimizer also,
>
> Well that's like saying there were bound to be bugs in postgres
> 8.0 ;>

There were, else we wouldn't have released 8.0.1 :)

> So just make the build system detect the version number and compile with 
> -O0 or -O1 for gcc >= 4.0. ;> Anyway, that's what I thought the 
> regression tests are for.  Or is the development team unlikely to do any 
> builds against 4.x for a while?

See Tom's posting ... they (redhat) have apparently been playing with 4.x 
for awhile now, and all looks good ...

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664


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

Предыдущее
От: "Dave Held"
Дата:
Сообщение: Re: Woo hoo ... a whole new set of compiler headaches!! :)
Следующее
От: Hannu Krosing
Дата:
Сообщение: possible TODO: read-only tables, select from indexes only.