This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/15454] New: miscompilation of __print_fp from stdio
- From: "belyshev at lubercy dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 May 2004 05:29:42 -0000
- Subject: [Bug c/15454] New: miscompilation of __print_fp from stdio
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ 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