diff options
author | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2012-10-10 01:40:27 +0159 |
---|---|---|
committer | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2012-10-10 01:40:27 +0159 |
commit | ee2ec6d2e2197bcd87b135f48ae82c209a83da9a (patch) | |
tree | f5386154f2fa284cbcff35e5857049ffc458f952 /gcc/ada/opt.ads | |
parent | 0b642ae1fa9a3e65eb826c1964482f975b33f5cd (diff) | |
download | gcc-aarch64-ee2ec6d2e2197bcd87b135f48ae82c209a83da9a.tar.gz |
Sync with svn rev. 192243
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Diffstat (limited to 'gcc/ada/opt.ads')
-rw-r--r-- | gcc/ada/opt.ads | 55 |
1 files changed, 33 insertions, 22 deletions
diff --git a/gcc/ada/opt.ads b/gcc/ada/opt.ads index a6c0cf3df..88194b302 100644 --- a/gcc/ada/opt.ads +++ b/gcc/ada/opt.ads @@ -230,11 +230,12 @@ package Opt is Back_End_Handles_Limited_Types : Boolean; -- This flag is set true if the back end can properly handle limited or -- other by reference types, and avoid copies. If this flag is False, then - -- the front end does special expansion for conditional expressions to make + -- the front end does special expansion for if/case expressions to make -- sure that no copy occurs. If the flag is True, then the expansion for - -- conditional expressions relies on the back end properly handling things. + -- if and case expressions relies on the back end properly handling things. -- Currently the default is False for all cases (set in gnat1drv). The - -- default can be modified using -gnatd.L (sets the flag True). + -- default can be modified using -gnatd.L (sets the flag True). This is + -- used to test the possibility of having the backend handle this. Bind_Alternate_Main_Name : Boolean := False; -- GNATBIND @@ -270,6 +271,11 @@ package Opt is -- Set to True to build, bind and link all the sources of a project file -- (switch -B) + Check_Aliasing_Of_Parameters : Boolean := False; + -- GNAT + -- Set to True to detect whether subprogram parameters and function results + -- alias the same object(s). + Check_Object_Consistency : Boolean := False; -- GNATBIND, GNATMAKE -- Set to True to check whether every object file is consistent with @@ -315,9 +321,14 @@ package Opt is Check_Unreferenced_Formals : Boolean := False; -- GNAT - -- Set True to check for unreferenced formals. This is turned on by + -- Set to True to check for unreferenced formals. This is turned on by -- -gnatwa/wf/wu and turned off by -gnatwA/wF/wU. + Check_Validity_Of_Parameters : Boolean := False; + -- GNAT + -- Set to True to check for proper scalar initialization of subprogram + -- parameters on both entry and exit. Turned on by??? turned off by??? + Check_Withs : Boolean := False; -- GNAT -- Set to True to enable checking for unused withs, and also the case @@ -486,11 +497,6 @@ package Opt is -- GNAT -- Set to True to generate full elaboration warnings (-gnatwl) - Enable_Overflow_Checks : Boolean := False; - -- GNAT - -- Set to True if -gnato (enable overflow checks) switch is set, - -- but not -gnatp. - Error_Msg_Line_Length : Nat := 0; -- GNAT -- Records the error message line length limit. If this is set to zero, @@ -643,9 +649,14 @@ package Opt is Generate_SCO : Boolean := False; -- GNAT - -- True when switch -gnateS is used. When True, Source Coverage Obligation - -- (SCO) information is generated and output in the ALI file. See unit - -- Par_SCO for full details. + -- True when switch -fdump-scos (or -gnateS) is used. When True, Source + -- Coverage Obligation (SCO) information is generated and output in the ALI + -- file. See unit Par_SCO for full details. + + Generate_SCO_Instance_Table : Boolean := False; + -- GNAT + -- True when switch -fdebug-instances is used. When True, a table of + -- instances is included in SCOs. Generating_Code : Boolean := False; -- GNAT @@ -957,6 +968,12 @@ package Opt is -- in this variable (e.g. 2 = select second unit in file). A value of -- zero indicates that we are in normal (one unit per file) mode. + No_Deletion : Boolean := False; + -- GNATPREP + -- Set by preprocessor switch -a. Do not eliminate any source text. Implies + -- Undefined_Symbols_Are_False. Useful to perform a syntax check on all + -- branches of #if constructs. + No_Main_Subprogram : Boolean := False; -- GNATMAKE, GNATBIND -- Set to True if compilation/binding of a program without main @@ -1068,12 +1085,6 @@ package Opt is -- True if output of list of objects is requested (-O switch set). List is -- output under the given filename, or standard output if not specified. - Overflow_Checks_Unsuppressed : Boolean := False; - -- GNAT - -- This flag is True if there has been at least one pragma with the - -- effect of unsuppressing overflow checks, meaning that a more careful - -- check of the current mode is required. - Persistent_BSS_Mode : Boolean := False; -- GNAT -- True if a Persistent_BSS configuration pragma is in effect, causing @@ -1252,10 +1263,10 @@ package Opt is Suppress_Options : Suppress_Record; -- GNAT - -- Flags set True to suppress corresponding check, i.e. add an implicit - -- pragma Suppress at the outer level of each unit compiled. Note that - -- these suppress actions can be overridden by the use of the Unsuppress - -- pragma. This variable is initialized by Osint.Initialize. + -- Indicates outer level setting of check suppression. This initializes + -- the settings of the outer scope level in any unit compiled. This is + -- initialized by Osint.Initialize, and further initialized by the + -- Adjust_Global_Switches flag in Gnat1drv. Suppress_Back_Annotation : Boolean := False; -- GNAT |