aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/misc.c
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/gcc-interface/misc.c
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/gcc-interface/misc.c')
-rw-r--r--gcc/ada/gcc-interface/misc.c3
1 files changed, 3 insertions, 0 deletions
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. */