[Bug testsuite/39537] New: overhaul printf formats and type casts in testsuite
kees at outflux dot net
gcc-bugzilla@gcc.gnu.org
Tue Mar 24 06:34:00 GMT 2009
Ubuntu's builds of GCC enable non-standard options (specifically
-Wformat-security and -Wformat). In an attempt to maintain parity with the
upstream testsuite output, I've gone through the testsuite and located many
architecture-dependent format-string/type discontinuities (e.g. %d should be
%ld for a pointer on x86_64). This patch seeks to address all the mismatches
through a standardized use of %p with (void*), and in several cases, a forced
(int) cast.
Are these changes interesting? I am hoping they are not needlessly invasive,
but I am obviously open to feedback.
--
Summary: overhaul printf formats and type casts in testsuite
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kees at outflux dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39537
More information about the Gcc-bugs
mailing list