arm.c (arm_mangle_type): Don't warn anymore that 4.4 has changed the `va_list' mangling.
authorMatthias Klose <doko@ubuntu.com>
Fri, 21 Sep 2012 11:12:44 +0000 (11:12 +0000)
committerMatthias Klose <doko@gcc.gnu.org>
Fri, 21 Sep 2012 11:12:44 +0000 (11:12 +0000)
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.

From-SVN: r191610

gcc/ChangeLog
gcc/config/arm/arm.c

index c077cebdee9fae7be90dcb5dab43261b3336f6ca..d87140cbd87dc0c82c92811933cc8e4f975d7198 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2012-09-21  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR rtl-optimization/54290
index 619e96f535e9f128981f34b50d5df6bdf165a483..1470602a215533dca4b01e0b01b3f5de21d65b62 100644 (file)
@@ -25072,16 +25072,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)