aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/ug_words
AgeCommit message (Collapse)AuthorFilesLines
2014-08-01[multiple changes]Arnaud Charlet1-271/+0
2014-08-01 Arnaud Charlet <charlet@adacore.com> * ug_words, xgnatugn.adb, gcc-interface/Make-lang.in: Remove xgnatugn.adb and ug_words. 2014-08-01 Eric Botcazou <ebotcazou@adacore.com> * exp_attr.adb (Expand_N_Attribute_Reference): Check whether expansion can be avoid for Machine, Model and Rounding. (Is_Inline_Floating_Point_Attribute): Return true for Machine & Model, as well as Rounding if wrapped in a conversion to an integer type. * sem_res.adb (Simplify_Type_Conversion): Deal with Rounding as well. * gcc-interface/gigi.h (fp_arith_may_widen): Declare. * gcc-interface/utils.c (fp_arith_may_widen): New global variable. * gcc-interface/misc.c (enumerate_modes): Compute it. * gcc-interface/trans.c (FP_ARITH_MAY_WIDEN): Delete. (lvalue_required_for_attribute_p): Deal with Descriptor_Size, Machine and Model. (Attribute_to_gnu) <Attr_Model>: New case. <Attr_Machine>): Likewise. (convert_with_check): Test fp_arith_may_widen variable. 2014-08-01 Pascal Obry <obry@adacore.com> * adaint.h (GNAT_FOPEN): New definition for Windows. (GNAT_OPEN): Likewise. (GNAT_STAT): Likewise. (GNAT_FSTAT): Likewise. (GNAT_LSTAT): Likewise. (GNAT_STRUCT_STAT): Likewise. * adaint.c (__gnat_stat): Fix computation of file size for Windows. 2014-08-01 Vincent Celier <celier@adacore.com> * Makefile.rtl: Minor comment update. 2014-08-01 Vincent Celier <celier@adacore.com> * Make-generated.in: Remove dependencies for vms-help. From-SVN: r213429
2014-07-16[multiple changes]Arnaud Charlet1-2/+2
2014-07-16 Eric Botcazou <ebotcazou@adacore.com> * switch-b.adb (Scan_Binder_Switches): Add missing guard. 2014-07-16 Ben Brosgol <brosgol@adacore.com> * gnat_ugn.texi: Fix typo. 2014-07-16 Ed Schonberg <schonberg@adacore.com> * exp_ch4.adb (Expand_N_Case_Expression): Do not expand case expression if it is the specification of a subtype predicate: it will be expanded when the return statement is analyzed, or when a static predicate is transformed into a static expression for evaluation by the front-end. * sem_ch13.adb (Get_RList): If the expression for a static predicate is a case expression, extract the alternatives of the branches with a True value to create the required statically evaluable expression. 2014-07-16 Thomas Quinot <quinot@adacore.com> * exp_prag.adb (Expand_Pragma_Check): Use the location of the expression, not the location of the aspect, for all generated code, so that in particular the call to raise_assert_failure gets the sloc of the associated condition. * exp_ch6.adb (Expand_Subprogram_Contract.Build_Postconditions_Procedure): Set an explicit End_Label on the handled sequence of statements for the _Postconditions procedure so that the implicit return statement does not erroneously get associated with code generated for the last condition in postconditions. 2014-07-16 Thomas Quinot <quinot@adacore.com> * ug_words: Fix name of VMS synonym for -gnatw.z (SIZE_ALIGNMENT, not SIZE_ALIGN) and -gnatw.Z (NOSIZE_ALIGNMENT, not NOSIZE_ALIGN). * vms_data.ads: Add missing spaces in VMS synonyms for -gnatw.z / -gnatw.Z. From-SVN: r212657
2014-07-16[multiple changes]Arnaud Charlet1-0/+2
2014-07-16 Robert Dewar <dewar@adacore.com> * sem_ch3.adb, sem_prag.adb, sem_util.adb, sem_res.adb, sem_ch13.adb: Minor code reorganization (use Is_Access_Type, not in Access_Kind). * exp_ch3.adb: Minor code reorganization, use Is_Access_Type, not in Access_Kind. * par-ch4.adb (At_Start_Of_Attribute): New function (P_Simple_Expression): Better msg for bad attribute prefix. * scans.ads: Minor reformatting. 2014-07-16 Ed Schonberg <schonberg@adacore.com> * sem_attr.adb (Resolve_Attribute, case 'Update): If choice is a static constant, check that in belongs to the corresponding index subtype, to produce the proer warning when expansion is disabled. 2014-07-16 Robert Dewar <dewar@adacore.com> * freeze.adb (Freeze_Entity): Warn on incompatible size/alignment. * gnat_ugn.texi: Document -gnatw.z and -gnatw.Z. * ug_words: VMS synonyms (WARNINGS=[NO]SIZE_ALIGN) for -gnatw.z/-gnatw.Z * usage.adb: Add lines for -gnatw.z/-gnatw.Z. * vms_data.ads: VMS synonyms (WARNINGS=[NO]SIZE_ALIGN) for -gnatw.z/-gnatw.Z * warnsw.adb: Set Warn_On_Size_Alignment appropriately. * warnsw.ads (Warn_On_Size_Alignment): New flag Minor reformatting. From-SVN: r212656
2014-02-25binde.adb: Change messages to mention -gnatel instead of -gnatwl.Robert Dewar1-0/+2
2014-02-25 Robert Dewar <dewar@adacore.com> * binde.adb: Change messages to mention -gnatel instead of -gnatwl. * gnat_ugn.texi: Update documentation of -gnatwl Add documentation of -gnatel/-gnateL. * opt.ads (Warn_Info_Messages): New flag. * sem_elab.adb: Use Elab_Warnings, Elab_Info_Messages to control messages. * sem_prag.adb: Use Elab_Warnings, Elab_Info_Messages to control messages. * switch-m.ad, switch-c.adb: Recognize new -gnatel/EL switches. * usage.adb: Add documentation of -gnatel/-gnateL Update documentation of -gnatwl/-gnatwL. * warnsw.adb: New handling of Elab_Warnings, Elab_Info_Messages * warnsw.ads (Elab_Info_Messages): New field in Warning_Record From-SVN: r208139
2014-01-22sem_warn.adb (Check_Use_Clause): Don't give no entities used msg if errors ↵Robert Dewar1-2/+17
found. 2014-01-22 Robert Dewar <dewar@adacore.com> * sem_warn.adb (Check_Use_Clause): Don't give no entities used msg if errors found. (Check_One_Unit): Same change. 2014-01-22 Robert Dewar <dewar@adacore.com> * ug_words: Add missing/wrong entries for VMS warning switches. * sem_prag.adb (Check_Duplicate_Pragma): Avoid flagging parent type. From-SVN: r206920
2013-10-17[multiple changes]Arnaud Charlet1-0/+1
2013-10-17 Ed Schonberg <schonberg@adacore.com> * sem_ch12.adb (Validated_Access_Subprogram_Instance): According to AI05-288, actuals for access_to_subprograms must be subtype conformant with the generic formal. Previous to AI05-288 only mode conformance was required, but the AI is a binding interpretation that applies to previous versions of the language, 2013-10-17 Robert Dewar <dewar@adacore.com> * gnat_ugn.texi: Minor text correction. * ug_words: Add entry for -gnateu /IGNORE_UNRECOGNIZED. * vms_data.ads: Add /IGNORE_UNRECOGNIZED for -gnateu. 2013-10-17 Tristan Gingold <gingold@adacore.com> * impunit.adb (Non_Imp_File_Names_95): Add g-cppexc. 2013-10-17 Hristian Kirtchev <kirtchev@adacore.com> * sem_prag.adb (Analyze_Constituent): Move the check concerning option Part_Of to routine Check_Matching_Constituent. (Check_Matching_Constituent): Verify that an abstract state that acts as a constituent has the prope Part_Op option in its aspect/pragma Abstract_State. Account for the case when a constituent comes from a private child or private sibling. * sem_util.ads, sem_util.adb (Is_Child_Or_Sibling): New routine. From-SVN: r203760
2013-10-17[multiple changes]Arnaud Charlet1-1/+2
2013-10-17 Vincent Celier <celier@adacore.com> * gnat_ugn.texi: Remove VMS conversion of -gnatet and -gnateT, now that they are both in ug_words. * ug_words: Update qualifier for -gnatet Add qualifier for -gnateT * vms_data.ads: Update qualifier for -gnatet Add qualifier for -gnateT * projects.texi: Continue to update the project documentation for VMS. 2013-10-17 Robert Dewar <dewar@adacore.com> * einfo.ads, einfo.adb (Has_Body_References): New flag. (Body_References): New field. * sem_prag.adb (Record_Possible_Body_Reference): New procedure (Analyze_Input_Output): Call Record_Possible_Body_Reference (Analyze_Global_Item): Call Record_Possible_Body_Reference (Analyze_Refinement_Clause): Output messages if illegal global refs. 2013-10-17 Thomas Quinot <quinot@adacore.com> * freeze.adb (Check_Component_Storage_Order): Reject a record or array type that does not have an explicit Scalar_Storage_Order attribute definition if a component of the record, or the elements of the array, have one. * gnat_rm.texi (attribute Scalar_Storage_Order): Document the above rule. From-SVN: r203750
2013-10-17gnat_ugn.texi: Document -gnatw.y/-gnatw.Y.Robert Dewar1-0/+2
2013-10-17 Robert Dewar <dewar@adacore.com> * gnat_ugn.texi: Document -gnatw.y/-gnatw.Y. * opt.ads (List_Body_Required_Info): New flag. * prep.adb: Minor reformatting. * sem_ch7.adb (Unit_Requires_Body_Info): New procedure (Analyze_Package_Specification): Add call to Unit_Requires_Body_Info. * ug_words: Add entries for -gnatw.y and -gnatw.Y. * usage.adb: Add line for new warning switch -gnatw.y/.Y. * vms_data.ads: Add entry for [NO_]WHY_SPEC_NEEDS_BODY warning qualifier. * warnsw.ads, warnsw.adb: Implement new warning switch -gnatw.y/.Y. From-SVN: r203748
2013-10-10sem_aggr.adb (Resolve_Array_Aggregate): Identify duplicated cases.Robert Dewar1-0/+2
2013-10-10 Robert Dewar <dewar@adacore.com> * sem_aggr.adb (Resolve_Array_Aggregate): Identify duplicated cases. 2013-10-10 Robert Dewar <dewar@adacore.com> * sem_ch9.adb (Analyze_Task_Body): Aspects are illegal (Analyze_Protected_Body): Aspects are illegal. 2013-10-10 Robert Dewar <dewar@adacore.com> * sem_ch6.adb, sem_ch13.adb: Minor reformatting. * sem_case.adb (Check_Choices): Fix bad listing of missing values from predicated subtype case (Check_Choices): List duplicated values. * errout.adb (Set_Msg_Text): Process warning tags in VMS mode * erroutc.adb (Output_Msg_Text): Handle VMS warning tags * gnat_ugn.texi: Document /WARNINGS=TAG_WARNINGS for VMS * ug_words: Add entries for -gnatw.d and -gnatw.D * vms_data.ads: Add [NO]TAG_WARNINGS for -gnatw.D/-gnatw.d * lib-writ.ads: Documentation fixes 2013-10-10 Robert Dewar <dewar@adacore.com> * a-wichha.adb, a-wichha.ads, a-zchhan.adb, a-zchhan.ads (Is_Other_Format): New name for Is_Other. (Is_Punctuation_Connector): New name for Is_Punctuation From-SVN: r203366
2013-04-11[multiple changes]Arnaud Charlet1-0/+1
2013-04-11 Robert Dewar <dewar@adacore.com> * s-osprim-mingw.adb, sem_ch3.adb, sem_prag.adb, sem_util.adb. makeutl.adb, sem_ch8.adb: Minor reformatting. 2013-04-11 Vincent Celier <celier@adacore.com> * gnat_ugn.texi: Minor fixes for VMS. * ug_words: Minor addition: -gnato? => /OVERFLOW_CHECKS=?. 2013-04-11 Robert Dewar <dewar@adacore.com> * usage.adb (Usage): Minor edit to -gnatW message 2013-04-11 Robert Dewar <dewar@adacore.com> * exp_aggr.adb (Expand_N_Aggregate): Add circuit for handling others for string literal case. Also add big ??? comment about this new code, which should be redundant, but is not. * sem_eval.adb (Eval_Concatenation): Handle non-static case properly (Eval_String_Literal): Handle non-static literal properly From-SVN: r197744
2013-02-06[multiple changes]Arnaud Charlet1-0/+1
2013-02-06 Javier Miranda <miranda@adacore.com> * exp_ch5.adb (Expand_N_Assignment_Statement): Do not generate the runtime check on assignment to tagged types if compiling with checks suppressed. 2013-02-06 Robert Dewar <dewar@adacore.com> * exp_util.adb, checks.adb, sem_ch12.adb, sem_res.adb, prj-conf.adb, s-os_lib.adb: Minor reformatting 2013-02-06 Vincent Celier <celier@adacore.com> * ug_words: Add -gnateY = /IGNORE_STYLE_CHECKS_PRAGMAS. 2013-02-06 Ed Schonberg <schonberg@adacore.com> * snames.ads-tmpl: Add Name_Rational and pragma Rational. * par-prag.adb: Recognize pragma Rational. * opt.ads (Rational_Profile): flag to control compatibility mode with Rational compiler. * sem_ch8.adb (Analyze_Subprogram_Renaming): When Rational profile is enable, accept renaming declarations where the new subprogram and the renamed entity have the same name. * sem_prag.adb (analyze_pragma): Add pragma Rational, and recognize Rational as a profile. From-SVN: r195793
2013-01-02vms_data.ads: Add entry for Float_Check_Valid (-gnateF).Robert Dewar1-0/+1
2013-01-02 Robert Dewar <dewar@adacore.com> * vms_data.ads: Add entry for Float_Check_Valid (-gnateF). * ug_words: Add entry for Float_Check_Overflow. * usage.adb: Minor reformatting. * gnat_ugn.texi: Add documentation for -gnateF (Check_Float_Overflow). From-SVN: r194790
2013-01-02gnat_ugn.texi: Add documentation for switches -gnateA, -gnated, -gnateO=, ↵Vincent Celier1-1/+5
-gnatet and -gnateV. 2013-01-02 Vincent Celier <celier@adacore.com> * gnat_ugn.texi: Add documentation for switches -gnateA, -gnated, -gnateO=, -gnatet and -gnateV. * ug_words: Add qualifiers equivalent to -gnateA, -gnated, -gnatet and -gnateV. * usage.adb: Add lines for -gnatea, -gnateO and -gnatez. * vms_data.ads: Add new compiler qualifiers /ALIASING_CHECK (-gnateA), /DISABLE_ATOMIC_SYNCHRONIZATION (-gnated), /PARAMETER_VALIDITY_CHECK (-gnateV) and /TARGET_DEPENDENT_INFO (-gnatet). From-SVN: r194789
2012-10-29[multiple changes]Arnaud Charlet1-0/+2
2012-10-29 Robert Dewar <dewar@adacore.com> * xr_tabls.adb, xr_tabls.ads, exp_ch9.adb, snames.adb-tmpl, snames.ads-tmpl, exp_ch3.adb: Minor reformatting. 2012-10-29 Ed Schonberg <schonberg@adacore.com> * sem_ch6.adb: Call Build_Subprogrm_Instance_Renamings only when generating code. 2012-10-29 Robert Dewar <dewar@adacore.com> * gnat_ugn.texi: Add documentation for -gnatw.k/-gnatw.K. * ug_words: Add entries for -gnatw.k/.K for [NO]STANDARD_REDEFINITION. * vms_data.ads: Add entries for [NO]STANDARD_REDEFINITION. From-SVN: r192929
2012-10-02[multiple changes]Arnaud Charlet1-0/+1
2012-10-02 Robert Dewar <dewar@adacore.com> * usage.adb, gnat_rm.texi, vms_data.ads: Add entry for /OVERFLOW_CHECKS=?? generating -gnato?? for control of extended overflow checking. * ug_words: Add entry for -gnato?? for /OVERFLOW_CHECKS=?? * gnat_ugn.texi: Add documentation for -gnato?? for control of overflow checking mode. 2012-10-02 Ed Schonberg <schonberg@adacore.com> * sem_ch4.adb (Analyze_Quantified_Expression): If the iterator in a quantified expression is statically known to be null (e.g. a array with an empty index type) emit a warning. From-SVN: r191957
2012-07-16[multiple changes]Arnaud Charlet1-0/+2
2012-07-16 Vasiliy Fofanov <fofanov@adacore.com> * ug_words, vms_data.ads: Document VMS qualifiers for -gnatn1/2 switches. 2012-07-16 Bob Duff <duff@adacore.com> * sinfo.ads: Minor comment fix. 2012-07-16 Bob Duff <duff@adacore.com> * sem_elab.adb (Within_Elaborate_All): Walk the with clauses to find pragmas Elaborate_All that may be found in the transitive closure of the dependences. From-SVN: r189517
2012-03-19[multiple changes]Arnaud Charlet1-0/+1
2012-03-19 Yannick Moy <moy@adacore.com> * sem_ch6.adb (Check_Subprogram_Contract): Do not emit warnings on trivially True or False postconditions and Ensures components of contract-cases. 2012-03-19 Robert Dewar <dewar@adacore.com> * gnat_ugn.texi: Fix index entry for -gnatei (now we have ug_words entry). From-SVN: r185527
2011-09-01[multiple changes]Arnaud Charlet1-0/+2
2011-09-01 Vincent Celier <celier@adacore.com> * ug_words: Add /MULTI_UNIT_INDEX= -> -gnateI * vms_data.ads: Add new VMS qualifier equivalent for -gnateInnn 2011-09-01 Nicolas Roche <roche@adacore.com> * adaint.c (__gnat_tmp_name): Don't use tmpnam function from the system on VxWorks in kernel mode. From-SVN: r178415
2011-08-02[multiple changes]Arnaud Charlet1-0/+1
2011-08-02 Robert Dewar <dewar@adacore.com> * gnat_rm.texi: Minor reformatting. * sem_prag.adb: Minor reformatting. 2011-08-02 Tristan Gingold <gingold@adacore.com> * vms_data.ads: Add VMS qualifier for -gnateP. 2011-08-02 Robert Dewar <dewar@adacore.com> * par-ch13.adb (P_Aspect_Specification): New meaning of Decl = Empty * par-ch7.adb (P_Package): Proper placement of aspects for package decl/instantiation. * par-endh.adb (Check_End): Ad Is_Sloc parameter (End_Statements): Add Is_Sloc parameterr * par.adb (P_Aspect_Specification): New meaning of Decl = Empty (Check_End): Ad Is_Sloc parameter (End_Statements): Add Is_Sloc parameterr 2011-08-02 Vincent Celier <celier@adacore.com> * ug_words: Add VMS qualifier equivalent to -gnateP: /SYMBOL_PREPROCESSING. 2011-08-02 Jose Ruiz <ruiz@adacore.com> * gnat-style.texi: For hexadecimal numeric literals the typical grouping of digits is 4 to represent 2 bytes. A procedure spec which is split into several lines is indented two characters. 2011-08-02 Yannick Moy <moy@adacore.com> * exp_aggr.adb (Is_Others_Aggregate): move function to other unit. * sem_aggr.adb, sem_aggr.ads (Is_Others_Aggregate): move function here (Resolve_Aggregate): issue errors in formal modes when aggregate is not properly qualified (Resolve_Array_Aggregate): issue errors in formal modes on non-static choice in array aggregate (Resolve_Extension_Aggregate): issue errors in formal modes on subtype mark as ancestor (Resolve_Record_Aggregate): issue errors in formal modes on mixed positional and named aggregate for record, or others in record aggregate, or multiple choice in record aggregate * sem_res.adb (Resolve_Logical_Op): issue errors in formal mode when array operands to logical operations AND, OR and XOR do not have the same static lower and higher bounds * sem_ch5.adb, sinfo.ads: Correct typos in comments From-SVN: r177086
2010-10-21[multiple changes]Arnaud Charlet1-0/+1
2010-10-21 Ed Schonberg <schonberg@adacore.com> * sem_ch6.adb (Enter_Overloaded_Entity): Refine warning message about hiding, to remove noise warnings about hiding predefined operators. 2010-10-21 Emmanuel Briot <briot@adacore.com> * g-comlin.adb (Add_Switch): Fix handling of switches with no separator when the parameter has length 1. 2010-10-21 Jose Ruiz <ruiz@adacore.com> * sem_prag.adb (Set_Ravenscar_Profile): Enforce the restrictions of no dependence on Ada.Execution_Time.Timers, Ada.Execution_Time.Group_Budget, and System.Multiprocessors.Dispatching_Domains which are part of the Ravenscar Profile. * impunit.adb (Non_Imp_File_Names_05): Add the file "a-etgrbu" to the list of Ada 2005 files for package Ada.Execution_Time.Group_Budgets. (Non_Imp_File_Names_12): Add the file "s-mudido" to the list of Ada 2012 files for package System.Mutiprocessors.Dispatching_Domains. 2010-10-21 Tristan Gingold <gingold@adacore.com> * ug_words, vms_data.ads: Define the VMS qualifier for -gnateE. 2010-10-21 Thomas Quinot <quinot@adacore.com> * sem_ch3.ads (Process_Discriminants): Clarify cases where this is called for a completion. 2010-10-21 Geert Bosch <bosch@adacore.com> * uintp.ads: Expand image buffer to have enough room for 128-bit values * urealp.ads (UR_Write): Write constants in base 16 in hexadecimal notation; either as fixed point literal or in canonical radix 16 floating point form. From-SVN: r165761
2010-10-18[multiple changes]Arnaud Charlet1-0/+3
2010-10-18 Robert Dewar <dewar@adacore.com> * einfo.ads, einfo.adb: Minor reformatting. * gnat_ugn.texi, ug_words: Add missing entries, fix typos. 2010-10-18 Emmanuel Briot <briot@adacore.com> * g-comlin.adb (Is_In_Config): When the switch accepts either a space or equal, we output an equal every time. 2010-10-18 Ed Schonberg <schonberg@adacore.com> * sem_res.adb (Resolve_Entry_Call): Handle call to an entry family member when pre/post conditions are present. * exp_ch9.adb (Build_PPC_Wrapper): The PPC_Wrapper for an entry family includes an index parameter, and the name of the enclosed entry call is an indexed component. From-SVN: r165634
2010-09-10[multiple changes]Arnaud Charlet1-0/+2
2010-09-10 Robert Dewar <dewar@adacore.com> * gnat_ugn.texi: Add documentation for -gnatw.s/S * sem_ch13.adb (Analyze_Attribute_Definition_Clause, case Component_Size): Implement warning on overriden size clause. (Analyze_Record_Representation_Clause): Implement warning on overriden size clause. * sem_warn.ads, sem_warn.adb (Warn_On_Overridden_Size): New flag (-gnatw.s/S). * ug_words: Add entries for -gnatw.s/S. * vms_data.ads, usage.adb: Add line for -gnatw.s/-gnatw.S. * gcc-interface/Make-lang.in: Update dependencies. 2010-09-10 Vincent Celier <celier@adacore.com> * prj-dect.adb (Parse_Package_Declaration): Allow a package to extend a package with the same name from an imported or extended project. * prj-proc.adb (Process_Declarative_Items): Process package extensions 2010-09-10 Bob Duff <duff@adacore.com> * exp_ch6.adb (Expand_Call): Do not perform a null_exclusion check on 'out' parameters. From-SVN: r164194
2010-09-10[multiple changes]Arnaud Charlet1-0/+2
2010-09-10 Robert Dewar <dewar@adacore.com> * sem_ch13.adb (Check_Record_Representation_Clause): Implement record gap warnings. * sem_warn.ads, sem_warn.adb (Warn_On_Record_Holes): New warning flag. * usage.adb: Add lines for -gnatw.h/H * gnat_ugn.texi: Add documentation for J519-010 Warn on record holes/gaps * ug_words: Add entries for -gnatw.h/-gnatw.H * vms_data.ads: Add entries for [NO]AVOIDGAPS 2010-09-10 Gary Dismukes <dismukes@adacore.com> * sem_ch6.adb: Update comment. From-SVN: r164186
2010-09-10[multiple changes]Arnaud Charlet1-0/+2
2010-09-10 Jose Ruiz <ruiz@adacore.com> * exp_cg.adb (Is_Predefined_Dispatching_Operation): Add the "__" scope separator when trying the pattern matching to detect predefined primitive operations. 2010-09-10 Robert Dewar <dewar@adacore.com> * bindgen.adb, atree.adb: Minor reformatting. 2010-09-10 Ben Brosgol <brosgol@adacore.com> * ug_words, gnat_ugn.texi: Revised "Transitioning to 64-Bit GNAT for OpenVMS" section. From-SVN: r164175
2010-09-09gnatlbr.adb: Removed.Doug Rupp1-2/+0
2010-09-09 Doug Rupp <rupp@adacore.com> * gnatlbr.adb: Removed. * gnat_rm.texi, ug_words, gnat_ugn.texi: Remove mention of gnatlbr. From-SVN: r164080
2010-09-09[multiple changes]Arnaud Charlet1-0/+2
2010-09-09 Vincent Celier <celier@adacore.com> * osint.adb (Canonical_Case_File_Name): Use procedure To_Lower in System.Case_Util (Canonical_Case_Env_Var_Name): Ditto 2010-09-09 Bob Duff <duff@adacore.com> * g-pehage.adb (Allocate): Initialize the allocated elements of IT. 2010-09-09 Robert Dewar <dewar@adacore.com> * cstand.adb: Mark Boolean and Character types as Ordered * einfo.adb (Has_Pragma_Ordered): New flag * einfo.ads (Has_Pragma_Ordered): New flag * g-calend.ads: Mark Day_Name as Ordered * opt.ads: Mark Ada_Version_Type as Ordered (Warn_On_Unordered_Enumeration_Type): New flag * par-prag.adb: Add procdessing for pragma Ordered * s-ficobl.ads (Read_File_Mode): New subtype * s-fileio.adb: Use Read_File_Mode instead of explicit ranges * s-taskin.ads: Mark Entry_Call_State as ordered * sem_ch3.adb (Build_Derived_Enumeration_Type): Inherit Has_Pragma_Ordered. * sem_ch6.ads: Mark Conformance_Type as Ordered * sem_prag.adb: Implement pragma Ordered * sem_res.adb (Bad_Unordered_Enumeration_Reference): New function (Resolve_Comparison_Op): Diagnose unordered comparison (Resolve_Range): Diagnose unordered range * sem_warn.adb (Warn_On_Unordered_Enumeration_Type): New flag (from -gnatw.u/U) * snames.ads-tmpl: Add entry for pragma Ordered * style.ads (Check_Enumeration_Subrange): Removed * styleg.adb (Check_Enumeration_Subrange): Removed * styleg.ads (Check_Enumeration_Subrange): Removed * stylesw.adb: Remove handling of -gnatyE switch * stylesw.ads: (Style_Check_Enumeration_Subranges): Removed * vms_data.ads: Remove -gnatyE entries Add -gnatw.u entries * ug_words: Entries for -gnatw.u and -gnatw.U * gnat_ugn.texi: Document -gnatw.u/-gnatw.U switches * gnat_rm.texi: Document pragma Ordered. * s-tasren.adb: Avoid unnecessary comparison on unordered enumeration. * s-tpobop.adb: Remove comparison on unordered enumeration type. From-SVN: r164070
2010-06-16[multiple changes]Arnaud Charlet1-0/+1
2010-06-16 Javier Miranda <miranda@adacore.com> * exp_disp.adb (Expand_Dispatching_Call): Adjust the decoration of the node referenced by the SCIL node of dispatching "=" to skip the tags comparison. 2010-06-16 Ed Schonberg <schonberg@adacore.com> * sem_ch5.adb (Analyze_Exit_Statement): Return if no enclosing loop, to prevent cascaded errors and compilation aborts. 2010-06-16 Robert Dewar <dewar@adacore.com> * back_end.adb (Switch_Subsequently_Cancelled): New function Move declarations to package body level to support this change * back_end.ads (Switch_Subsequently_Cancelled): New function * gnat_ugn.texi: Document -gnat-p switch * switch-c.adb (Scan_Front_End_Switches): Implement -gnat-p switch * ug_words: Add entry for -gnat-p (UNSUPPRESS_ALL) * usage.adb: Add line for -gnat-p switch * vms_data.ads: Add entry for UNSUPPRESS_ALL (-gnat-p) 2010-06-16 Robert Dewar <dewar@adacore.com> * sem_warn.adb (Check_Infinite_Loop_Warning): Declaration counts as modification. From-SVN: r160847
2009-07-22[multiple changes]Arnaud Charlet1-0/+1
2009-07-22 Eric Botcazou <ebotcazou@adacore.com> * exp_aggr.adb (Gen_Loop): Do not qualify the bounds of the range if they are already of the base type of the index. 2009-07-22 Brett Porter <porter@adacore.com> * sysdep.c, init.c: Fix typo: _SPE_ should have been __SPE__. 2009-07-22 Robert Dewar <dewar@adacore.com> * vms_data.ads: Add entry for SCO_OUTPUT (-gnateS) * gnat_ugn.texi: Add documentation for -gnateS switch * ug_words: Add entry for -gnateS /SCO_OUTPUT * gcc-interface/Make-lang.in: Update dependenciest.3 * get_scos.adb, get_scos.ads, gnat1drv.adb, par_sco.adb, par_sco.ads, put_scos.adb, put_scos.ads, scos.adb, scos.ads: Initial complete information for SCO input/output. From-SVN: r149945
2009-07-13[multiple changes]Arnaud Charlet1-0/+2
2009-07-13 Robert Dewar <dewar@adacore.com> * freeze.adb (Freeze_Entity): Implement Warn_On_Suspicious_Modulus_Value * gnat_ugn.texi: Add documentation for -gnatw.m/.M * opt.ads (Warn_On_Suspicious_Modulus_Value): New flag * sem_warn.adb (Set_Dot_Warning_Flag): Set/reset Warn_On_Suspicious_Modulus_Value. * ug_words: Add entries for -gnatw.m/-gnatw.M. * usage.adb: Add lines for -gnatw.m/.M switches. * vms_data.ads: Add [NO]SUSPICIOUS_MODULUS for -gnatw.m/w.M 2009-07-13 Javier Miranda <miranda@adacore.com> * sem_ch6.adb (Check_Synchronized_Overriding): Add missing check before reading the Is_Interface attribute of the dispatching type. 2009-07-13 Robert Dewar <dewar@adacore.com> * a-convec.adb: Minor code reorganization (use conditional expressions) From-SVN: r149550
2009-07-09[multiple changes]Arnaud Charlet1-0/+2
2009-07-09 Ed Schonberg <schonberg@adacore.com> * sem_ch10.adb (Install_Context): If the unit is a package body, install the private with_clauses of the corresponding package declaration. 2009-07-09 Robert Dewar <dewar@adacore.com> * checks.adb: Minor reformatting 2009-07-09 Vasiliy Fofanov <fofanov@adacore.com> * ug_words, gnat_ugn.texi: Move VMS equivalents of the last check in into ug_words. 2009-07-09 Thomas Quinot <quinot@adacore.com> * sem_ch13.adb (Analyze_Attribute_Definition_Clause, case Address): Do not warn for a constant overlaying any constant object From-SVN: r149417
2009-04-08[multiple changes]Arnaud Charlet1-0/+1
2009-04-08 Robert Dewar <dewar@adacore.com> * ug_words: Add /ASSUME_VALID for -gnatB * vms_data.ads: Add /ASSUME_VALID for -gnatB * sem_cat.adb: Add clarifying commment * a-direio.ads (Bytes): Make sure value is non-zero 2009-04-08 Ed Schonberg <schonberg@adacore.com> * sem_util.adb (Is_Variable): If the prefix is an explicit dereference that does not come from source, check for a rewritten function call in prefixed notation before other forms of rewriting. 2009-04-08 Robert Dewar <dewar@adacore.com> * Makefile.rtl: Remove s-strops and s-sopco? from the run time, since these are now obsolescent units used only for bootrapping with an older compiler. From-SVN: r145733
2008-08-05ug_words: Add entries for -gnatw.b/-gnatw.BArnaud Charlet1-0/+2
2008-08-05 Robert Dewar <dewar@adacore.com> * ug_words: Add entries for -gnatw.b/-gnatw.B * vms_data.ads: Add entries for -gnatw.b/-gnatw.B From-SVN: r138717
2008-08-04gprep.adb (Process_One_File): Call Prep.Preprocess with a Boolean variable...Vincent Celier1-0/+1
2008-08-04 Vincent Celier <celier@adacore.com> * gprep.adb (Process_One_File): Call Prep.Preprocess with a Boolean variable, but don't check the resulting value as it has no impact on the processing. * opt.ads: (Generate_Processed_File): New Boolean flag, set to True in the compiler when switch -gnateG is used. * prep.adb: (Preprocess): new Boolean out parameter Source_Modified. Set it to True when the source is modified by the preprocessor and there is no preprocessing errors. * prep.ads (Preprocess): new Boolean out parameter Source_Modified * sinput-l.adb: (Load_File): Output the result of preprocessing if the source text was modified. * switch-c.adb (Scan_Front_End_Switches): Recognize switch -gnateG * switch-m.adb (Normalize_Compiler_Switches): Normalize switch -gnateG * ug_words: Add VMS equivalent for -gnateG * vms_data.ads: Add VMS option /GENERATE_PROCESSED_SOURCE, equivalent to switch -gnateG From-SVN: r138590
2008-05-20vms_data.ads: Add entry for -gnatr Put GNAT SYNC section in proper alpha ↵Robert Dewar1-0/+2
order Add VMS... 2008-05-20 Robert Dewar <dewar@adacore.com> Vincent Celier <celier@adacore.com> * vms_data.ads: Add entry for -gnatr Put GNAT SYNC section in proper alpha order Add VMS qualifier /DISPLAY_PROGRESS equivalent to gnatmake switch -d * gnat_ugn.texi: Add documentation for new gnatname switch --and Update the style checks section Add documentation of -gnatr Add to the "Adding the Results of Compiler Checks to gnatcheck Output" subsection the explanation how compiler checks should be disabled for gnatcheck. Update the list of Ada 95 reserved words used by in the project language Add documentation for project qualifiers. Document that abstract projects may be extended by different projects in the same project tree. Add documentation for gnatmake switch -d * ug_words: Add -gnatyy VMS equivalence string. Add entry for -gnatr From-SVN: r135647
2008-04-08vms_conv.adb (Output_Version): Print "GNAAMP" instead of "GNAT when ↵Vincent Celier1-1/+6
AAMP_On_Target is set. 2008-04-08 Vincent Celier <celier@adacore.com> Robert Dewar <dewar@adacore.com> * vms_conv.adb (Output_Version): Print "GNAAMP" instead of "GNAT when AAMP_On_Target is set. * vms_data.ads: Add NOxxx to style check switch list Add entry COMPONENTS for -gnatVe Add VMS qualifiers for -eL (/FOLLOW_LINKS_FOR_FILES) and --subdirs= (/SUBDIRS=). (GCC_Switches): Add /ALL_BACK_END_WARNINGS. Add qualifiers for gnatmetric coupling options Add note that -gnata enables all checks Add entries [NO]PARAMETER_ORDER for -gnatw.p[P] Fix inconsistency for VMS qualifier for the gnatpp '-rnb' option New warning flag -gnatw.e * usage.adb: Add entries for -gnaty+ -gnaty- -gnatyy Add entry for -gnatyN (forgotten before) Line for new warning switch -gnatw.p New warning flag -gnatw.e * gnat_ugn.texi: Add documentation fpr project file switch -aP Document -gnaty - + y Replace occurences of "package specification" with "package spec" Define preprocessing symbols in documentation of gnatprep Clarify reason for distinguishing overflow checking Add documentation for project-aware tool switches -eL and --subdirs= Complete list of configuration pragmas Specify that, even when gnatmake switch -x is used, mains on the command line need to be sources of project files. Editing of gnatcheck/gnatmetric doc. Add documentation for -gnatw.p/-gnatw.P Add missing documentation for -fno-inline-functions. Add documentation for -gnatw.e * gnat_rm.texi: Add documentation for No_Default_Initialization Replace occurences of "package specification" with "package spec" Document use of * in Warnings Off string Update documentation of alignment/component clauses. Add documentation for Invalid_Value Document new consistency rule for Optimize_Alignment Add documentation for Precondition and Postcondition pragmas Add documentation for Check and Check_Policy pragmas Document new Enum_Val attribute Remove requirement for static string in pragma Assert Add documentation on GNAT.Time_Stamp * ug_words: add entry for -gnatVe Add entries for -gnat.p[P] /WARNINGS=[NO]PARAMETER_ORDER Add entry for -gnatw.e * debug.adb: Add missing documentation for d.a flag Document new -gnatd.a switch. Add documentation for new gnatmake debug switch -df From-SVN: r134060
2008-03-26gnat_ugn.texi: Add documentation for -gnatw.w/-gnatw.W Add description for ↵Robert Dewar1-0/+2
the new gnatstub... 2008-03-26 Robert Dewar <dewar@adacore.com> * gnat_ugn.texi: Add documentation for -gnatw.w/-gnatw.W Add description for the new gnatstub option '--header-file' clarification of -gnatwz/-gnatwZ Add a "Irix-Specific Considerations" section to document the need to set LD_LIBRARY_PATH when using the default shared runtime library. Added documentation for both gcov and gprof. * gnat_rm.texi: Document that pragma Compile_Time_Warning generates messages that are not suppressed when clients are compiled. Add documentation of s-pooglo s-pooloc Document the new GNAT.Serial_Communications API. Add documentation for 'Old attribute Add description of pragma Optimize_Alignment * ug_words: Add entries for -gnatw.w -gnatw.W * usage.adb: Add line for -gnatw.w (warn on warnings off) From-SVN: r133588
2007-12-13exp_prag.adb (Expand_Pragma_Assert): Recognize new warning flag for assert failRobert Dewar1-0/+2
2007-12-06 Robert Dewar <dewar@adacore.com> Ed Schonberg <schonberg@adacore.com> * exp_prag.adb (Expand_Pragma_Assert): Recognize new warning flag for assert fail * ug_words: Add entries for -gnatw.a -gnatw.A * sem_res.adb (Set_String_Literal_Subtype): If the context of the literal is a subtype with non-static constraints, use the base type of the context as the base of the string subtype, to prevent type mismatches in gigi. (Resolve_Actuals): If the actual is an entity name, generate a reference before the actual is resolved and expanded, to prevent spurious warnings on formals of enclosing protected operations. (Analyze_Overloaded_Selected_Component): If type of prefix if class-wide, use visible components of base type. (Resolve_Selected_Component): Ditto. (Resolve_Short_Circuit): Detect case of pragma Assert argument evaluating to False, and issue warning message. * usage.adb: Add lines for -gnatw.a and -gnatw.A From-SVN: r130838
2007-10-15s-taprop-solaris.adb, [...]: Minor reformatting.Robert Dewar1-0/+2
2007-10-15 Robert Dewar <dewar@adacore.com> * s-taprop-solaris.adb, s-taprop-vms.adb, s-taprop-mingw.adb, s-taprop-vxworks.adb, s-taprop-posix.adb, a-calend-vms.adb, a-calend.adb, a-nuflra.adb, a-tigeau.adb, a-wtgeau.adb, checks.adb, bindgen.adb, eval_fat.adb, exp_fixd.adb, fmap.adb, freeze.adb, g-awk.adb, g-calend.adb, g-diopit.adb, g-expect.adb, gnatchop.adb, gnatlink.adb, g-spipat.adb, g-thread.adb, make.adb, mdll.adb, mlib.adb, mlib-prj.adb, osint.adb, par-ch3.adb, prj.adb, prj-makr.adb, sem_prag.adb, sem_type.adb, s-fatgen.adb, s-fileio.adb, sinfo.ads, sinput-d.adb, s-taasde.adb, s-tasdeb.ads, s-tasren.adb, s-tassta.adb, s-tpobop.adb, s-tposen.adb, stylesw.adb, types.ads, uintp.adb, validsw.adb, makegpr.adb, a-rbtgso.adb, a-crbtgo.adb, a-coorse.adb, a-convec.adb, a-coinve.adb, a-cohama.adb, a-ciorse.adb, a-cihama.adb, a-cidlli.adb, a-chtgop.adb, a-cdlili.adb, a-cdlili.adb, a-coormu.adb, a-ciormu.adb, a-cihase.adb, a-cohase.adb, a-ciorma.adb, a-coorma.adb, a-ztgeau.adb, symbols-vms.adb, a-crdlli.adb, a-calari.adb, a-calfor.adb, s-os_lib.adb, s-regpat.adb, a-ngrear.adb: Minor reformatting. Add Unreferenced and Warnings (Off) pragmas for cases of variables modified calls where they are IN OUT or OUT parameters and the resulting values are not subsequently referenced. In a few cases, we also remove redundant code found by the new warnings. * ug_words, vms_data.ads, usage.adb, sem_util.adb, sem_util.ads, sem_warn.adb, sem_warn.ads, sem_res.adb, sem_ch7.adb, sem_ch8.adb, sem_ch5.adb, opt.ads, lib-xref.adb, lib-xref.ads, exp_smem.adb, sem_ch11.adb, exp_ch6.adb, einfo.ads, einfo.adb: implement a new warning controlled by -gnatw.o that warns on cases of out parameter values being ignored. From-SVN: r129318
2007-06-06xgnatugn.adb: Allow dots to be used in ug_words (-gnatw.c and -gnatw.C)Vincent Celier1-0/+4
2007-04-20 Vincent Celier <celier@adacore.com> Robert Dewar <dewar@adacore.com> * xgnatugn.adb: Allow dots to be used in ug_words (-gnatw.c and -gnatw.C) * gnat_ugn.texi: Fix ordering of -g switch for gnatmake Document gnatbind switch -a (case Constructions): Document that variables declarations are allowed for previously declared variables. Fix external lib project example -gnatg: Indicate new VMS qualifier /GNAT_INTERNAL Indicate that "#if not X or Y then" is not allowed in input files to gnatprep. Document gnatw.x and gnatw.X warning flags Mention -Winline switch to activate warnings when back-end inlining is ineffective. Add gnatcheck rule descriptions Describe how to use the GNAT driver to call a tool on a closure. Describe how to run project-wide checks or metrics. Document gnatbind's -R option Updated to account for Ada 2005 support * gnat_rm.texi (Case Construction): Allow variable declarations for previously declared variables. (Representation Clauses and Pragmas): Lift restriction on alignment clauses for record types. (Ada.Characters.*): Fix typo in reference to A.3.3(27). Document No_Exception_Propagation restriction Document No_Body pragma Updated to account for Ada 2005 support; corrected some typos (Implementation Defined Pragmas): Document pragma Universal_Aliasing. * gnat-style.texi: Make it clear that we never use mode IN for procedures or functions * ug_words: Add entries for -gnatw.x and -gnatw.X Add entries for -gnatw.c/.C From-SVN: r125475
2006-10-31debug.adb: Update flags documentationRobert Dewar1-0/+11
2006-10-31 Robert Dewar <dewar@adacore.com> Cyrille Comar <comar@adacore.com> Ben Brosgol <brosgol@adacore.com> * debug.adb: Update flags documentation * gnat_ugn.texi: Add documentation for new -gnatwq switch Clean up documentation for several other warning switches Clarify how task stack size can be specified with various versions of Windows. Add note that -gnatVo includes ranges including loops Add documentation for -gnatL switch Add note on elaboration warning for initializing variables Add documentation for new -gnatwt warning switch Document new form of pragma Warnings (On|Off, string) Add comment on use of pragma Warnings to control warnings Add documentation for -gnatjnn switch Modify section on interfacing with C for VMS 64-bit. Add doc for -gnatVe/E Add documentation of new warning flags -gnatww/-gnatwW Add warnings about address clause overlays to list of warnings (Exception Handling Control): Document that the option --RTS must be used consistently for gcc and gnatbind. Clarify that inlining is not always possible Update documentation on pragma Unchecked_Union. * gnat_rm.texi: Add documentation for new extended version of pragma Obsolescent Add documentation for implementation defined attribute 'Stub_Type. Add note on use of Volatile in asm statements Add documentation on use of pragma Unreferenced in context clause Document new form of pragma Warnings (On|Off, pattern) Document pragma Wide_Character_Encoding Add note that pragma Restrictions (No_Elaboration_Code) is only fully enforced if code generation is active. Add section on pragma Suppress to document GNAT specific check Alignment_Check Clarify difference between No_Dispatching_Calls & No_Dispatch. Add documentation for pragma Restrictions (No_Elaboration_Code) * gnat-style.texi: Add comments on layout of subprogram local variables in the presence of nested subprograms. * ug_words: Resync. * elists.ads: Minor reformatting Node returns Node_Or_Entity_Id (doc change only) * xgnatugn.adb: Replace ACADEMICEDITION with GPLEDITION * g-arrspl.ads (Create): Update comments. * sem.ads: Add details on the handling of the scope stack. * usage.adb: Update documentation. * validsw.ads, validsw.adb: Add definition of Validity_Check_Components and implement -gnatVe/E * vms_data.ads: Add missing VMS qualifiers. * s-addope.ads: Add documentation on overflow and divide by zero From-SVN: r118328
2006-02-15gnat_ugn.texi: Remove limitations with sparc m64 support.Arnaud Charlet1-0/+2
2006-02-13 Arnaud Charlet <charlet@adacore.com> Ben Brosgol <brosgol@adacore.com> Robert Dewar <dewar@adacore.com> * gnat_ugn.texi: Remove limitations with sparc m64 support. Document that gnatbind -M option is for cross environments only. Added description of using gnatmem to trace gnat rtl allocs and deallocs Add note on use of $ to label implicit run time calls Add documentation for -gnatyI (check mode IN) Updated chapter on compatibility with HP Ada VMS-oriented edits. Ran spell and corrected errors Add documentation for gnatbind -d and rework documentation of -D at the same time. Add subprogram/data elimination section. Minor editing of annex A. Add section for gnatcheck. Add documentation for restriction No_Dispatching_Calls Add documentation for pragma Ada_2005 Remove mention of obsolete pragma Propagate_Exceptions Document that pragma Unreferenced can appear after DO in ACCEPT Clarify Pure_Function for library level units Mention Max/Min in connection with No_Implicit_Conditionals No_Wide_Characters restriction is no longer partition-wide Add a nice example for Universal_Literal_String attribute Document that pragma No_Return can take multiple arguments * ug_words: Added entry for gnatcheck * g-ctrl_c.ads (Install_Handler): Enhance comments * g-os_lib.ads: Add comments to OS_Exit that it is abrupt termination * g-trasym.ads: Add documentation on how to do off line symbolic traceback computation. * s-fatgen.adb: Add comments for Unaligned_Valid * stand.ads: Fix typo in comment From-SVN: r111104
2005-11-15gnat_ugn.texi: Document that -fstack-check is needed for strict compliance ↵Cyrille Comar1-0/+2
with the Ada 95... 2005-11-14 Cyrille Comar <comar@adacore.com> Robert Dewar <dewar@adacore.com> Vincent Celier <celier@adacore.com> Ben Brosgol <brosgol@adacore.com> Jose Ruiz <ruiz@adacore.com> Pascal Obry <obry@adacore.com> * gnat_ugn.texi: Document that -fstack-check is needed for strict compliance with the Ada 95 Reference Manual. Correct reference to VAX systems to meet HP guidelines Add documentation for new gnatmake switches -vl, -vm and -vh Replace DEC Ada by HP Ada Replace DIGITAL by HP Remove empty section on tools in compatibility section Clarify the Windows convention semantics. Document the Win32 calling convention. The Stdcall, Win32 and DLL convention are synonyms. Add a note in -gnatR description about zero size record components Note on new >= and <= warnings for -gnatwc Document that equal sign after -gnatm is optional. Note that strip is working fine on DLL built with a Library Project. The restriction apply only to DLL built with gnatdll. Update section about the way to debug a DLL. Update information about the DLL convention. Document -C switch for gnatprep Document new attribute Library_ALI_Dir Update elaboration doc to include implicit Elaborate pragmas now generated for subprogram instantiations. Document limitation on executable names that include spaces for --GCC, --GNATBIND, and --GNATLINK switches. Document that -w causes -gnatws to be added at start of gcc switches * gnat_rm.texi: Document that -mieee is needed for generating infinite and NaN values in case of overflow on machines that are not fully compliant with the IEEE floating-point standard. Create a section describing the set of compiler options needed for strict compliance with the Ada 95 Reference Manual. Add documentation for pragma Obsolescent applied to a package Clarify potential issues of mixed language programs related to the I/O buffering enabling in the elaboration of the GNAT runtime. Add extra documentation for pragma Restrictions (No_Elaboration_Code) This documentation only patch adds extra documentsion for pragma Restrictions (No_Elaboration_Code), explaining why it is not possible to document this restriction in terms of allowed source constructs. Document string literal form of pragma Warnings Document new attribute Library_ALI_Dir Add documentation on stable attributes in project files that was missing * gnat-style.texi: Indicate that paragraphs within a single comment should be separated by empty comment lines * ug_words: Added replacements for -gnat95 and -gnat05 (/95 and /05 respectively) * bindusg.adb: Minor cleanup, put -m before -M for consistency From-SVN: r107015
2005-06-16vms_conv.ads, [...]: Remove "Library" command.Doug Rupp1-0/+2
2005-06-14 Doug Rupp <rupp@adacore.com> Vincent Celier <celier@adacore.com> * vms_conv.ads, vms_conv.adb: Remove "Library" command. Update copyright. * vms_data.ads: Add entry for -gnaty/Y [NO]ADA_2005_COMPATIBILITY Remove "Library" command. Change keyword for style check -gnatyd from NOCRLF to DOS_LINE_ENDINGS. Remove useless second style check keyword NONE Remove help documentation for inexistent style check keyword RM_COLUMN_LAYOUT. Add help documentation for style check keywords DOS_LINE_ENDINGS, UNNECESSARY_BLANK_LINES and XTRA_PARENS Add UNNECESSARY_BLANK_LINES for -gnatyu Add qualifiers /ALL_PROJECTS (-U) for GNAT PRETTY and GNAT METRIC * ug_words: Add entry for -gnaty/Y [NO]ADA_2005_COMPATIBILITY From-SVN: r101067
2005-03-29sem_res.adb (Resolve_Real_Literal): Generate warning if static fixed-point ↵Robert Dewar1-0/+2
expression has value that is not a... 2005-03-29 Robert Dewar <dewar@adacore.com> * sem_res.adb (Resolve_Real_Literal): Generate warning if static fixed-point expression has value that is not a multiple of the Small value. * opt.ads (Warn_On_Bad_Fixed_Value): New flag * s-taprop-tru64.adb (RT_Resolution): Return an integer number of nanoseconds. * ug_words: Add entry for [NO_]BAD_FIXED_VALUES for -gnatwb/-gnatwB From-SVN: r97165
2005-01-03ug_words, [...]: Added alpha-ivms transitioning section to porting guide ↵Arnaud Charlet1-0/+2
chapter (vms version). * ug_words, gnat_ugn.texi: Added alpha-ivms transitioning section to porting guide chapter (vms version). Revised doc title (removed "for native platforms") and subtitle. Add discussion on warning flag for obsolescent features. First we note that it applies to obsolete GNAT features, which was previously omitted. Second we contrast the behavior with that of the new Ada 2005 AI-368 restriction No_Obsolescent_Features. Preliminary rewriting of GNAT & libraries chapter in order to take into account default project locations & new project manager capabilities. * cstand.adb (Create_Operators): Clean up format and documentation of unary and binary operator result tables. No change in code, just reformatting and addition of comments. * errout.ads, gnatfind.adb, s-maccod.ads, sem.adb, sem_ch2.adb: Minor reformatting * atree.ads, elists.ads, lib.ads, namet.ads, nlists.ads, repinfo.ads, sinput.ads, stringt.ads, uintp.ads, urealp.ads: Minor clarification to comments for Tree_Read and Tree_Write. * exp_attr.ads: Minor reformatting. * comperr.adb (Compiler_Abort): Add specialized message for GAP versions. * exp_pakd.adb (Create_Packed_Array_Type): Add a guard to check whether the ancestor type is private, as may be the case with nested instantiations. From-SVN: r92852
2004-04-01re PR ada/14150 (Ada documentation out of date)Arnaud Charlet1-134/+172
PR ada/14150 * Make-lang.in: Clean up generation of documentation * gnat-style.texi, gnat_rm.texi, ug_words: Resync with AdaCore version * xgnatug.adb: Removed, replaced by xgnatugn.adb * xgnatugn.adb: Replaces xgnatug.adb * gnat_ug.texi: Removed, replaced by gnat_ugn.texi * gnat_ugn.texi: Replaces gnat_ug.texi. Resync with AdaCore version * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, gnat_ug_wnt.texi: Removed. From-SVN: r80308
2002-04-21gnat_rm.texi: Do not include texiplus.texi.Florian Weimer1-0/+134
* gnat_rm.texi: Do not include texiplus.texi. Include fdl.texi instead of gfdl.texi * xgnatug.adb, ug_words: New files. * Makefile.in (doc, dvi): New targets. Build gnat_ug_*, gnat_rm and gnat-style manuals. From-SVN: r52569