Starting with 4.4, GCC informs about that the `va_list' mangling has changed.
This makes builds a bit "noisy", and maybe it's time to remove this
informational message in the trunk.

  Matthias

2012-09-20  Matthias Klose  <d...@ubuntu.com>

        * gcc/config/arm/arm.c (arm_mangle_type): Don't warn anymore that 
        4.4 has changed the `va_list mangling.

Index: gcc/config/arm/arm.c
===================================================================
--- gcc/config/arm/arm.c        (revision 191561)
+++ gcc/config/arm/arm.c        (working copy)
@@ -25072,16 +25072,7 @@
      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)

Reply via email to