[Bug c/15454] New: miscompilation of __print_fp from stdio
belyshev at lubercy dot com
gcc-bugzilla@gcc.gnu.org
Sat May 15 20:47:00 GMT 2004
$ gcc pi.c -O -static
$ ./a.out
3.14159
$ gcc pi.c print_fp.i -O -static
$ ./a.out
0.00000
$ gcc-3.4 pi.c print_fp.i -O -static
$ ./a.out
3.14159
printf_fp.i contains miscompiled function __printf_fp () that overrides one from
stdio library. (dynamic linking does not work because glibc does black magic
with symbols)
--
Summary: miscompilation of __print_fp from stdio
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: belyshev at lubercy dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15454
More information about the Gcc-bugs
mailing list