> This is not a suprise, and something we have been looking at in 6.5beta.
> egcs does some optimization of function calls with short int parameters,
> and calling the adt functions through function pointers triggers a
> problem.
> Only certain platforms do this optimization. I don't think we can fix
> it for 6.5, but it is good to know.
It is most likely a 64bit issue, since my RH-5.2/egcs-1.1.2 machine
does not show a problem (other than floating point funny business with
rounding).
- Thomas
> > Summary: Would not build with -O2 flags set
> > Operating System : Linux 2.2.3 ELF RedHat 5.1
> > PostgreSQL version : 6.4.2
> > Compiler used : gcc 2.7.3
> > DEC Multia 21066A, 64M RAM
> > egcs 1.0.3
> > make 3.7.6
--
Thomas Lockhart lockhart@alumni.caltech.edu
South Pasadena, California