Re: [BUGS] [INTERFACES] libecpg (8.0 and CVS) hits a gcc bug on powerpc

2005-03-16 Thread Christof Petig
Christof Petig schrieb: So I propose the following hack (feel free to improve it!) to go into mainline. Since only powerpc and amd64 are affected (and the old method does not work at all here at all) the patch should not be controversial. I failed to mention that call by reference is the default fo

[BUGS] libecpg (8.0 and CVS) hits a gcc bug on powerpc and amd64 (crash)

2005-03-16 Thread Christof Petig
NB: The crossposting is actually suggested on the mailing list description: "If you've found a bug in PostgreSQL, please send it both to this list and also to the pgsql-patches list." Amd64 and powerpc share an ABI design which enables variable passing in registers and which makes va_list a complex