Re: OpenBSD/Sparc status

From: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: OpenBSD/Sparc status
Date: 2004-11-19 19:51:02
Message-ID: 419E4EA6.9060108@kaltenbrunner.cc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> The answer is: it's a gcc bug. The attached program should print
> x = 12.3
> y = 12.3
>
> but if compiled with -O or -O2 on Stefan's machine, I get garbage:
>
> $ gcc -O ftest.c
> $ ./a.out
> x = 12.3
> y = 1.47203e-39

woa - scary. I will report that to the OpenBSD-folks upstream - many
thanks for the nice testcase!

Stefan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2004-11-19 21:13:28 Re: OpenBSD/Sparc status
Previous Message Marc G. Fournier 2004-11-19 19:39:03 Beta5 Scheduale