This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

(fixinc) PATCH: Handle BSD4.4 <stdio.h> vs. attribute format checking


Bi-yearly Ping: Permission from a fixinc maintainer to install on
mainline?  http://gcc.gnu.org/ml/gcc-patches/2002-06/msg02246.html

[It is my fault that this one never got looked at since I didn't
 e-mail Bruce directly.]

> 	* fixinc/inclhack.def (bsd_stdio_attrs_conflict): New.
> 	* fixinc/fixincl.x: Rebuilt.

> This patch fixes:

> FAIL: gcc.dg/format/c99-scanf-3.c vfscanf (test for warnings, line 21)
> FAIL: gcc.dg/format/c99-scanf-3.c vfscanf (test for warnings, line 21)
> FAIL: gcc.dg/format/ext-6.c vfscanf (test for warnings, line 42)
> FAIL: gcc.dg/format/ext-6.c vfscanf (test for warnings, line 42)

> on *-unknown-freebsd[34] and should also help other platforms using
> system headers derived from BSD4.4 sources.

> Tested on *-*-freebsd4.[678] via [many] full bootstrap/check cycle.  No
> regressions.  cc1 binary, as built, noted to now contain proper
> reference to ATTR_vfscanf instead of errant ATTR___svfscanf.  This
> should also address recently reported similar issue with NetBSD (and
> testresults-only reported issue seen on OpenBSD; [and also seen on Darwin]


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]