From e98c0739b33ea06b50553f8c70047e36ad00b422 Mon Sep 17 00:00:00 2001
From: "H.J. Lu" <hjl@gcc.gnu.org>
Date: Wed, 18 Feb 2009 10:37:00 -0800
Subject: [PATCH] misc.c (gnat_post_options): Turn off warn_psabi.

2009-02-18  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc-interface/misc.c (gnat_post_options): Turn off warn_psabi.

From-SVN: r144267
---
 gcc/ada/ChangeLog            | 8 ++++++--
 gcc/ada/gcc-interface/misc.c | 3 +++
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index ecb1207d268f..bebcb4af51db 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,9 +1,13 @@
+2009-02-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* gcc-interface/misc.c (gnat_post_options): Turn off warn_psabi.
+
 2009-02-16  Eric Botcazou  <ebotcazou@adacore.com>
 
 	* gcc-interface/deftarg.c: Remove.
 
 2009-02-10  Olivier Hainque  <hainque@adacore.com>
-            Eric Botcazou  <ebotcazou@adacore.com>
+	    Eric Botcazou  <ebotcazou@adacore.com>
 
 	* gcc-interface/decl.c (enum alias_set_op): New enumeration.
 	(copy_alias_set): Rename into...
@@ -138,7 +142,7 @@
 	* gcc-interface/Makefile.in (*86-solaris2*): Support x86_64 multilib.
 
 2008-11-07  Bechir Zalila  <bechir.zalila@gmail.com>
-            Eric Botcazou  <ebotcazou@adacore.com>
+	    Eric Botcazou  <ebotcazou@adacore.com>
 
 	PR ada/34289
 	* lib.ads: (Enable_Switch_Storing): Declare.
diff --git a/gcc/ada/gcc-interface/misc.c b/gcc/ada/gcc-interface/misc.c
index 3026e9057b93..79f1805c7824 100644
--- a/gcc/ada/gcc-interface/misc.c
+++ b/gcc/ada/gcc-interface/misc.c
@@ -340,6 +340,9 @@ gnat_post_options (const char **pfilename ATTRIBUTE_UNUSED)
   /* ??? The warning machinery is outsmarted by Ada.  */
   warn_unused_parameter = 0;
 
+  /* No psABI change warnings for Ada.  */
+  warn_psabi = 0;
+
   /* Force eliminate_unused_debug_types to 0 unless an explicit positive
      -f has been passed.  This forces the default to 0 for Ada, which might
      differ from the common default.  */
-- 
GitLab