summaryrefslogtreecommitdiff
path: root/gcc/ada/gnat1drv.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2014-10-23 10:19:58 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2014-10-23 10:19:58 +0000
commit8fd43ddda400d63bdcebcfb2e7027b04a83dc24c (patch)
treee96f199d4c266ea9f9630787a37a515e6d00e222 /gcc/ada/gnat1drv.adb
parente5e1b8cf9de5fbe6565fa5b9cbb8201566c84384 (diff)
downloadgcc-8fd43ddda400d63bdcebcfb2e7027b04a83dc24c.tar.gz
2014-10-23 Yannick Moy <moy@adacore.com>
* sem_prag.adb (Analyze_Pragma/Pragma_Inline & Pragma_Inline_Always): Disable analysis in GNATprove mode. 2014-10-23 Arnaud Charlet <charlet@adacore.com> * mlib-prj.adb: Remove obsolete references to libdecgnat (VMS only). 2014-10-23 Arnaud Charlet <charlet@adacore.com> * gnat1drv.adb (Adjust_Global_Switches): Ignore style check pragmas in codepeer mode. 2014-10-23 Gary Dismukes <dismukes@adacore.com> * gnat_rm.texi: Minor syntax fix for pragma Annotate (missing ','). 2014-10-23 Hristian Kirtchev <kirtchev@adacore.com> * sem_ch12.adb (Inline_Instance_Body): Alphabetize local variables and constants. Add constants Save_SM and Save_SMP to capture SPARK_Mode-related attributes. Compile the inlined body with the SPARK_Mode of the enclosing context. 2014-10-23 Hristian Kirtchev <kirtchev@adacore.com> * sinfo.adb (Elaboration_Boolean): Removed. (Set_Elaboration_Boolean): Removed. * sinfo.ads Remove attribute Elaboration_Boolean along with its occurrence in nodes. (Elaboration_Boolean): Removed along with pragma Inline. (Set_Elaboration_Boolean): Removed along with pragma Inline. 2014-10-23 Ed Schonberg <schonberg@adacore.com> * sem_ch3.adb (Constant_Redeclaration): Make error message more explicit on a deferred constant whose object_definition is an anonymous array. 2014-10-23 Vincent Celier <celier@adacore.com> * gnatls.adb: Never call Targparm.Get_Target_Parameters. 2014-10-23 Ed Schonberg <schonberg@adacore.com> * sem_ch6.adb (Analyze_Expression_Function): In a generic context do not create a body, and only pre-analyze the expression, which may include incomplete views. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216584 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/gnat1drv.adb')
-rw-r--r--gcc/ada/gnat1drv.adb6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ada/gnat1drv.adb b/gcc/ada/gnat1drv.adb
index 4cbb8cb21ef..7b8b5db2a70 100644
--- a/gcc/ada/gnat1drv.adb
+++ b/gcc/ada/gnat1drv.adb
@@ -288,10 +288,12 @@ procedure Gnat1drv is
Validity_Check_In_Out_Params := True;
Validity_Check_In_Params := True;
- -- Turn off style check options since we are not interested in any
- -- front-end warnings when we are getting CodePeer output.
+ -- Turn off style check options and ignore any style check pragmas
+ -- since we are not interested in any front-end warnings when we are
+ -- getting CodePeer output.
Reset_Style_Check_Options;
+ Ignore_Style_Checks_Pragmas := True;
-- Always perform semantics and generate ali files in CodePeer mode,
-- so that a gnatmake -c -k will proceed further when possible.