From: H.J. Lu Date: Wed, 18 Feb 2009 18:37:00 +0000 (-0800) Subject: misc.c (gnat_post_options): Turn off warn_psabi. X-Git-Tag: releases/gcc-4.4.0~506 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e98c0739b33ea06b50553f8c70047e36ad00b422;p=thirdparty%2Fgcc.git misc.c (gnat_post_options): Turn off warn_psabi. 2009-02-18 H.J. Lu * gcc-interface/misc.c (gnat_post_options): Turn off warn_psabi. From-SVN: r144267 --- 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 + + * gcc-interface/misc.c (gnat_post_options): Turn off warn_psabi. + 2009-02-16 Eric Botcazou * gcc-interface/deftarg.c: Remove. 2009-02-10 Olivier Hainque - Eric Botcazou + Eric Botcazou * 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 - Eric Botcazou + Eric Botcazou 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. */