I also confirm this behavior on x86_64 when compiled with 'gcc -m32 -std=c99'.
It seems to happen with 32-bit C99, but not in any other case.
-Alan Beadle
I have just now reproduced this bug in Debian Buster x86_64 using
i686-w64-mingw32-gcc-win32 with -std=c99 and wine32, using the
original example above.
Source file foo.c:
#include
float getfloat() { return 12345.6789f; }
int main(void) { assert(12345.6789f == getfloat()); }
Steps to reproduce:
reassign 693173 gcc
thanks
Hi Ben,
On Tue, Nov 13, 2012 at 11:33:01PM +, Ben Golightly wrote:
> The following three line C programme generates erroneous output when
> compiled with i586-mingw32msvc-gcc -std=c99
>
> #include
> float getfloat() { return 12345.6789f; }
> int main(void) { asser
Package: gcc-mingw32
Version: 4.6.3-8+7
Severity: important
Dear Maintainer,
The following three line C programme generates erroneous output when
compiled with i586-mingw32msvc-gcc -std=c99
#include
float getfloat() { return 12345.6789f; }
int main(void) { assert(12345.6789f == getfloat()); }
4 matches
Mail list logo