This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/34710] FORTIFY_SOURCE matches to many patterns
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jan 2008 08:46:07 -0000
- Subject: [Bug c/34710] FORTIFY_SOURCE matches to many patterns
- References: <bug-34710-15593@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from jakub at gcc dot gnu dot org 2008-01-08 08:46 -------
Just have to agree with Andrew, the code is buggy, fprintf etc. really are
allowed to be defined as macros. That said, glibc 2.7 and later when used with
gcc 4.3 and later uses inline functions instead of macros even for fprintf etc.
With older gccs that's not possible, as it lacks __builtin_va_arg_pack{,_len}
builtins.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34710