/usr/src/gcc-4.7/debian/patches/arm-no-va_list-warn.diff is in gcc-4.7-source 4.7.4-3ubuntu12.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | # DP: Don't warn anymore that 4.4 has changed the `va_list' mangling.
gcc/
2012-09-21 Matthias Klose <doko@ubuntu.com>
* config/arm/arm.c (arm_mangle_type): Don't warn anymore that
4.4 has changed the `va_list' mangling.
Index: b/src/gcc/config/arm/arm.c
===================================================================
--- a/src/gcc/config/arm/arm.c
+++ b/src/gcc/config/arm/arm.c
@@ -24497,16 +24497,7 @@ arm_mangle_type (const_tree type)
has to be managled as if it is in the "std" namespace. */
if (TARGET_AAPCS_BASED
&& lang_hooks.types_compatible_p (CONST_CAST_TREE (type), va_list_type))
- {
- static bool warned;
- if (!warned && warn_psabi && !in_system_header)
- {
- warned = true;
- inform (input_location,
- "the mangling of %<va_list%> has changed in GCC 4.4");
- }
- return "St9__va_list";
- }
+ return "St9__va_list";
/* Half-precision float. */
if (TREE_CODE (type) == REAL_TYPE && TYPE_PRECISION (type) == 16)
|