aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorH.J. Lu <hjl@gcc.gnu.org>2009-02-18 10:37:00 -0800
committerH.J. Lu <hjl@gcc.gnu.org>2009-02-18 10:37:00 -0800
commite98c0739b33ea06b50553f8c70047e36ad00b422 (patch)
tree6a562e1eb33732e51f13484b14ef847c8da2e55c /gcc/ada
parent8c685e616f341221fd2682797a7d3219d5c7dcd8 (diff)
downloadgcc-e98c0739b33ea06b50553f8c70047e36ad00b422.zip
gcc-e98c0739b33ea06b50553f8c70047e36ad00b422.tar.gz
gcc-e98c0739b33ea06b50553f8c70047e36ad00b422.tar.bz2
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
Diffstat (limited to 'gcc/ada')
-rw-r--r--gcc/ada/ChangeLog8
-rw-r--r--gcc/ada/gcc-interface/misc.c3
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index ecb1207..bebcb4a 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 3026e90..79f1805 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. */