summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2009-02-18 18:37:00 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2009-02-18 18:37:00 +0000
commit0ff5b865f8054854233592794595aa0177198bf1 (patch)
tree6a562e1eb33732e51f13484b14ef847c8da2e55c
parent3c3f2fcca4eed50acdc59aa4c29a0790adc21aad (diff)
downloadgcc-0ff5b865f8054854233592794595aa0177198bf1.tar.gz
2009-02-18 H.J. Lu <hongjiu.lu@intel.com>
* gcc-interface/misc.c (gnat_post_options): Turn off warn_psabi. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144267 138bc75d-0d04-0410-961f-82ee72b054a4
-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 ecb1207d268..bebcb4af51d 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 3026e9057b9..79f1805c782 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. */