diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | libio/bits/stdio.h | 7 |
2 files changed, 5 insertions, 7 deletions
@@ -1,3 +1,8 @@ +2001-08-02 Andreas Jaeger <aj@suse.de> + + * libio/bits/stdio.h (printf): Remove printf optimization since + GCC 3.0 can optimize printf. + 2001-08-02 Ulrich Weigand <uweigand@de.ibm.com> * sysdeps/s390/s390-32/memcpy.S: Fixed incorrect use of diff --git a/libio/bits/stdio.h b/libio/bits/stdio.h index 041be74218..118118adce 100644 --- a/libio/bits/stdio.h +++ b/libio/bits/stdio.h @@ -29,13 +29,6 @@ #ifdef __USE_EXTERN_INLINES -/* Since version 2.97 GCC knows about `fprintf' and can optimize certain - cases. Help gcc to optimize more code by mapping `printf' to the known - `fprintf' function. Unfortunately we have to use a macro. */ -# if __GNUC_PREREQ (2,97) -# define printf(fmt, args...) fprintf (stdout, fmt, ##args) -# endif - /* Write formatted output to stdout from argument list ARG. */ __STDIO_INLINE int vprintf (__const char *__restrict __fmt, _G_va_list __arg) __THROW |