diff mbox

[ARM]

Message ID 505B453B.9080405@ubuntu.com
State New
Headers show

Commit Message

Matthias Klose Sept. 20, 2012, 4:32 p.m. UTC
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  <doko@ubuntu.com>

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

Comments

Richard Earnshaw Sept. 21, 2012, 8:44 a.m. UTC | #1
On 20/09/12 17:32, Matthias Klose wrote:
> 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
> 
> 
> mangle.diff
> 
> 
> 2012-09-20  Matthias Klose  <doko@ubuntu.com>
> 
> 	* gcc/config/arm/arm.c (arm_mangle_type): Don't warn anymore that 
> 	4.4 has changed the `va_list mangling.
> 

OK.

R.
Eric Botcazou Sept. 21, 2012, 10:57 a.m. UTC | #2
> 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.
>
> 2012-09-20  Matthias Klose  <doko@ubuntu.com>
> 
>       * gcc/config/arm/arm.c (arm_mangle_type): Don't warn anymore that 
>       4.4 has changed the `va_list mangling.

No gcc/ prefix in gcc/ChangeLog.
diff mbox

Patch

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)