From b785e0b8753dee45572f0ab735bb8752a3a888b0 Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Wed, 11 Jun 2014 12:55:15 +0200 Subject: [PATCH] [multiple changes] 2014-06-11 Robert Dewar * debug.adb: Add debug flag -gnatd.q. * erroutc.adb (Prescan_Message): Bomb if untagged warning with -gnatd.q set. * styleg.adb (Check_Xtra_Parens): Message should be a style message. * sem_aggr.adb, sem_ch3.adb, exp_ch9.adb, checks.adb, sem_prag.adb, par-endh.adb, eval_fat.adb, freeze.adb, sem_util.adb, sem_attr.adb, sem_elab.adb, sem_ch6.adb, sem_warn.adb, sem_cat.adb, sem_ch13.adb, lib-xref.adb: Add remaining warning tags. 2014-06-11 Ben Brosgol * gnat_rm.texi: Revised chapter on Implementation Defined Characteristics. From-SVN: r211448 --- gcc/ada/ChangeLog | 17 ++ gcc/ada/checks.adb | 6 +- gcc/ada/debug.adb | 8 +- gcc/ada/erroutc.adb | 9 + gcc/ada/eval_fat.adb | 8 +- gcc/ada/exp_ch9.adb | 4 +- gcc/ada/freeze.adb | 2 +- gcc/ada/gnat_rm.texi | 446 +++++++++++++++++++++++++++++-------------- gcc/ada/lib-xref.adb | 2 +- gcc/ada/par-endh.adb | 4 +- gcc/ada/sem_aggr.adb | 4 +- gcc/ada/sem_attr.adb | 2 +- gcc/ada/sem_cat.adb | 12 +- gcc/ada/sem_ch13.adb | 4 +- gcc/ada/sem_ch3.adb | 4 +- gcc/ada/sem_ch6.adb | 10 +- gcc/ada/sem_elab.adb | 2 +- gcc/ada/sem_prag.adb | 12 +- gcc/ada/sem_util.adb | 8 +- gcc/ada/sem_warn.adb | 22 +-- gcc/ada/styleg.adb | 10 +- 21 files changed, 395 insertions(+), 201 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index a2ce54e9b0f..c56a52527f7 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,20 @@ +2014-06-11 Robert Dewar + + * debug.adb: Add debug flag -gnatd.q. + * erroutc.adb (Prescan_Message): Bomb if untagged warning with + -gnatd.q set. + * styleg.adb (Check_Xtra_Parens): Message should be a style + message. + * sem_aggr.adb, sem_ch3.adb, exp_ch9.adb, checks.adb, sem_prag.adb, + par-endh.adb, eval_fat.adb, freeze.adb, sem_util.adb, sem_attr.adb, + sem_elab.adb, sem_ch6.adb, sem_warn.adb, sem_cat.adb, + sem_ch13.adb, lib-xref.adb: Add remaining warning tags. + +2014-06-11 Ben Brosgol + + * gnat_rm.texi: Revised chapter on Implementation Defined + Characteristics. + 2014-06-11 Geert Bosch * s-exctab.adb: avoid race conditions in exception registration. diff --git a/gcc/ada/checks.adb b/gcc/ada/checks.adb index 7d3979dcbb2..32f0249cdc7 100644 --- a/gcc/ada/checks.adb +++ b/gcc/ada/checks.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1992-2013, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2014, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -3128,7 +3128,7 @@ package body Checks is else Apply_Compile_Time_Constraint_Error (Ck_Node, - "static value out of range of}?", + "static value out of range of}??", CE_Range_Check_Failed, Ent => Target_Typ, Typ => Target_Typ); @@ -3913,7 +3913,7 @@ package body Checks is Apply_Compile_Time_Constraint_Error (N => Expr, Msg => "(Ada 2005) null not allowed " - & "in null-excluding objects?", + & "in null-excluding objects??", Reason => CE_Null_Not_Allowed); when N_Parameter_Specification => diff --git a/gcc/ada/debug.adb b/gcc/ada/debug.adb index 8399a2c9900..49fae93306b 100644 --- a/gcc/ada/debug.adb +++ b/gcc/ada/debug.adb @@ -107,7 +107,7 @@ package body Debug is -- d.n Print source file names -- d.o Generate .NET listing of CIL code -- d.p Enable the .NET CIL verifier - -- d.q + -- d.q Quit on badly tagged warning message -- d.r Enable OK_To_Reorder_Components in non-variant records -- d.s Disable expansion of slice move, use memmove -- d.t Disable static allocation of library level dispatch tables @@ -561,6 +561,12 @@ package body Debug is -- disabled by default and this flag is used to enable it. In the -- future we will reverse this functionality. + -- d.q All warning and info messages are supposed to be tagged with one + -- of the extended warning sequences such as ?? or "mode=internal, preserve=timestamps" @sp 1 @cartouche @noindent -@strong{78}. Implementation-defined convention names. See B.1(11). +@item +The interpretation of the @code{Pattern} parameter, when not the null string, +in the @code{Start_Search} and @code{Search} procedures. +See A.16(104) and A.16(112). +@end cartouche +@noindent +When the @code{Pattern} parameter is not the null string, it is interpreted +according to the syntax of regular expressions as defined in the +@code{GNAT.Regexp} package. +@xref{GNAT.Regexp (g-regexp.ads)}. + +@sp 1 +@cartouche +@noindent +@item +Implementation-defined convention names. See B.1(11). @end cartouche @noindent The following convention names are supported @@ -13070,7 +13166,8 @@ implementations, these names are accepted silently. @sp 1 @cartouche @noindent -@strong{79}. The meaning of link names. See B.1(36). +@item +The meaning of link names. See B.1(36). @end cartouche @noindent Link names are the actual names used by the linker. @@ -13078,7 +13175,8 @@ Link names are the actual names used by the linker. @sp 1 @cartouche @noindent -@strong{80}. The manner of choosing link names when neither the link +@item +The manner of choosing link names when neither the link name nor the address of an imported or exported entity is specified. See B.1(36). @end cartouche @@ -13090,7 +13188,8 @@ letters. @sp 1 @cartouche @noindent -@strong{81}. The effect of pragma @code{Linker_Options}. See B.1(37). +@item +The effect of pragma @code{Linker_Options}. See B.1(37). @end cartouche @noindent The string passed to @code{Linker_Options} is presented uninterpreted as @@ -13111,7 +13210,8 @@ from the corresponding package spec. @sp 1 @cartouche @noindent -@strong{82}. The contents of the visible part of package +@item +The contents of the visible part of package @code{Interfaces} and its language-defined descendants. See B.2(1). @end cartouche @noindent @@ -13120,7 +13220,8 @@ See files with prefix @file{i-} in the distributed library. @sp 1 @cartouche @noindent -@strong{83}. Implementation-defined children of package +@item +Implementation-defined children of package @code{Interfaces}. The contents of the visible part of package @code{Interfaces}. See B.2(11). @end cartouche @@ -13130,7 +13231,8 @@ See files with prefix @file{i-} in the distributed library. @sp 1 @cartouche @noindent -@strong{84}. The types @code{Floating}, @code{Long_Floating}, +@item +The types @code{Floating}, @code{Long_Floating}, @code{Binary}, @code{Long_Binary}, @code{Decimal_ Element}, and @code{COBOL_Character}; and the initialization of the variables @code{Ada_To_COBOL} and @code{COBOL_To_Ada}, in @@ -13158,7 +13260,8 @@ For initialization, see the file @file{i-cobol.ads} in the distributed library. @sp 1 @cartouche @noindent -@strong{85}. Support for access to machine instructions. See C.1(1). +@item +Support for access to machine instructions. See C.1(1). @end cartouche @noindent See documentation in file @file{s-maccod.ads} in the distributed library. @@ -13166,7 +13269,8 @@ See documentation in file @file{s-maccod.ads} in the distributed library. @sp 1 @cartouche @noindent -@strong{86}. Implementation-defined aspects of access to machine +@item +Implementation-defined aspects of access to machine operations. See C.1(9). @end cartouche @noindent @@ -13175,7 +13279,8 @@ See documentation in file @file{s-maccod.ads} in the distributed library. @sp 1 @cartouche @noindent -@strong{87}. Implementation-defined aspects of interrupts. See C.3(2). +@item +Implementation-defined aspects of interrupts. See C.3(2). @end cartouche @noindent Interrupts are mapped to signals or conditions as appropriate. See @@ -13186,7 +13291,8 @@ on the interrupts supported on a particular target. @sp 1 @cartouche @noindent -@strong{88}. Implementation-defined aspects of pre-elaboration. See +@item +Implementation-defined aspects of pre-elaboration. See C.4(13). @end cartouche @noindent @@ -13196,7 +13302,8 @@ except under control of the debugger. @sp 1 @cartouche @noindent -@strong{89}. The semantics of pragma @code{Discard_Names}. See C.5(7). +@item +The semantics of pragma @code{Discard_Names}. See C.5(7). @end cartouche @noindent Pragma @code{Discard_Names} causes names of enumeration literals to @@ -13207,7 +13314,8 @@ Pos values. @sp 1 @cartouche @noindent -@strong{90}. The result of the @code{Task_Identification.Image} +@item +The result of the @code{Task_Identification.Image} attribute. See C.7.1(7). @end cartouche @noindent @@ -13237,7 +13345,8 @@ virtual address of the control block of the task. @sp 1 @cartouche @noindent -@strong{91}. The value of @code{Current_Task} when in a protected entry +@item +The value of @code{Current_Task} when in a protected entry or interrupt handler. See C.7.1(17). @end cartouche @noindent @@ -13247,7 +13356,8 @@ convenient thread, so the value of @code{Current_Task} is undefined. @sp 1 @cartouche @noindent -@strong{92}. The effect of calling @code{Current_Task} from an entry +@item +The effect of calling @code{Current_Task} from an entry body or interrupt handler. See C.7.1(19). @end cartouche @noindent @@ -13258,7 +13368,8 @@ executing the code. @sp 1 @cartouche @noindent -@strong{93}. Implementation-defined aspects of +@item +Implementation-defined aspects of @code{Task_Attributes}. See C.7.2(19). @end cartouche @noindent @@ -13267,7 +13378,8 @@ There are no implementation-defined aspects of @code{Task_Attributes}. @sp 1 @cartouche @noindent -@strong{94}. Values of all @code{Metrics}. See D(2). +@item +Values of all @code{Metrics}. See D(2). @end cartouche @noindent The metrics information for GNAT depends on the performance of the @@ -13282,7 +13394,8 @@ the required metrics. @sp 1 @cartouche @noindent -@strong{95}. The declarations of @code{Any_Priority} and +@item +The declarations of @code{Any_Priority} and @code{Priority}. See D.1(11). @end cartouche @noindent @@ -13291,7 +13404,8 @@ See declarations in file @file{system.ads}. @sp 1 @cartouche @noindent -@strong{96}. Implementation-defined execution resources. See D.1(15). +@item +Implementation-defined execution resources. See D.1(15). @end cartouche @noindent There are no implementation-defined execution resources. @@ -13299,7 +13413,8 @@ There are no implementation-defined execution resources. @sp 1 @cartouche @noindent -@strong{97}. Whether, on a multiprocessor, a task that is waiting for +@item +Whether, on a multiprocessor, a task that is waiting for access to a protected object keeps its processor busy. See D.2.1(3). @end cartouche @noindent @@ -13309,7 +13424,8 @@ object does not keep its processor busy. @sp 1 @cartouche @noindent -@strong{98}. The affect of implementation defined execution resources +@item +The affect of implementation defined execution resources on task dispatching. See D.2.1(9). @end cartouche @noindent @@ -13320,7 +13436,8 @@ underlying operating system. @sp 1 @cartouche @noindent -@strong{99}. Implementation-defined @code{policy_identifiers} allowed +@item +Implementation-defined @code{policy_identifiers} allowed in a pragma @code{Task_Dispatching_Policy}. See D.2.2(3). @end cartouche @noindent @@ -13330,7 +13447,8 @@ pragma. @sp 1 @cartouche @noindent -@strong{100}. Implementation-defined aspects of priority inversion. See +@item +Implementation-defined aspects of priority inversion. See D.2.2(16). @end cartouche @noindent @@ -13340,7 +13458,8 @@ of delay expirations for lower priority tasks. @sp 1 @cartouche @noindent -@strong{101}. Implementation-defined task dispatching. See D.2.2(18). +@item +Implementation-defined task dispatching. See D.2.2(18). @end cartouche @noindent The policy is the same as that of the underlying threads implementation. @@ -13348,7 +13467,8 @@ The policy is the same as that of the underlying threads implementation. @sp 1 @cartouche @noindent -@strong{102}. Implementation-defined @code{policy_identifiers} allowed +@item +Implementation-defined @code{policy_identifiers} allowed in a pragma @code{Locking_Policy}. See D.3(4). @end cartouche @noindent @@ -13365,7 +13485,8 @@ concurrently. @sp 1 @cartouche @noindent -@strong{103}. Default ceiling priorities. See D.3(10). +@item +Default ceiling priorities. See D.3(10). @end cartouche @noindent The ceiling priority of protected objects of the type @@ -13375,7 +13496,8 @@ Reference Manual D.3(10), @sp 1 @cartouche @noindent -@strong{104}. The ceiling of any protected object used internally by +@item +The ceiling of any protected object used internally by the implementation. See D.3(16). @end cartouche @noindent @@ -13385,7 +13507,8 @@ The ceiling priority of internal protected objects is @sp 1 @cartouche @noindent -@strong{105}. Implementation-defined queuing policies. See D.4(1). +@item +Implementation-defined queuing policies. See D.4(1). @end cartouche @noindent There are no implementation-defined queuing policies. @@ -13393,7 +13516,8 @@ There are no implementation-defined queuing policies. @sp 1 @cartouche @noindent -@strong{106}. On a multiprocessor, any conditions that cause the +@item +On a multiprocessor, any conditions that cause the completion of an aborted construct to be delayed later than what is specified for a single processor. See D.6(3). @end cartouche @@ -13404,7 +13528,8 @@ processor, there are no further delays. @sp 1 @cartouche @noindent -@strong{107}. Any operations that implicitly require heap storage +@item +Any operations that implicitly require heap storage allocation. See D.7(8). @end cartouche @noindent @@ -13414,7 +13539,8 @@ task creation. @sp 1 @cartouche @noindent -@strong{108}. Implementation-defined aspects of pragma +@item +Implementation-defined aspects of pragma @code{Restrictions}. See D.7(20). @end cartouche @noindent @@ -13423,7 +13549,8 @@ There are no such implementation-defined aspects. @sp 1 @cartouche @noindent -@strong{109}. Implementation-defined aspects of package +@item +Implementation-defined aspects of package @code{Real_Time}. See D.8(17). @end cartouche @noindent @@ -13432,7 +13559,8 @@ There are no implementation defined aspects of package @code{Real_Time}. @sp 1 @cartouche @noindent -@strong{110}. Implementation-defined aspects of +@item +Implementation-defined aspects of @code{delay_statements}. See D.9(8). @end cartouche @noindent @@ -13442,7 +13570,8 @@ delayed (see D.9(7)). @sp 1 @cartouche @noindent -@strong{111}. The upper bound on the duration of interrupt blocking +@item +The upper bound on the duration of interrupt blocking caused by the implementation. See D.12(5). @end cartouche @noindent @@ -13452,7 +13581,8 @@ no cases is it more than 10 milliseconds. @sp 1 @cartouche @noindent -@strong{112}. The means for creating and executing distributed +@item +The means for creating and executing distributed programs. See E(5). @end cartouche @noindent @@ -13462,7 +13592,8 @@ distributed programs. See the GLADE reference manual for further details. @sp 1 @cartouche @noindent -@strong{113}. Any events that can result in a partition becoming +@item +Any events that can result in a partition becoming inaccessible. See E.1(7). @end cartouche @noindent @@ -13471,7 +13602,8 @@ See the GLADE reference manual for full details on such events. @sp 1 @cartouche @noindent -@strong{114}. The scheduling policies, treatment of priorities, and +@item +The scheduling policies, treatment of priorities, and management of shared resources between partitions in certain cases. See E.1(11). @end cartouche @@ -13482,7 +13614,8 @@ multi-partition execution. @sp 1 @cartouche @noindent -@strong{115}. Events that cause the version of a compilation unit to +@item +Events that cause the version of a compilation unit to change. See E.3(5). @end cartouche @noindent @@ -13495,7 +13628,8 @@ comments. @sp 1 @cartouche @noindent -@strong{116}. Whether the execution of the remote subprogram is +@item +Whether the execution of the remote subprogram is immediately aborted as a result of cancellation. See E.4(13). @end cartouche @noindent @@ -13505,7 +13639,8 @@ a distributed application. @sp 1 @cartouche @noindent -@strong{117}. Implementation-defined aspects of the PCS@. See E.5(25). +@item +Implementation-defined aspects of the PCS@. See E.5(25). @end cartouche @noindent See the GLADE reference manual for a full description of all implementation @@ -13514,7 +13649,8 @@ defined aspects of the PCS@. @sp 1 @cartouche @noindent -@strong{118}. Implementation-defined interfaces in the PCS@. See +@item +Implementation-defined interfaces in the PCS@. See E.5(26). @end cartouche @noindent @@ -13524,7 +13660,8 @@ implementation defined interfaces. @sp 1 @cartouche @noindent -@strong{119}. The values of named numbers in the package +@item +The values of named numbers in the package @code{Decimal}. See F.2(7). @end cartouche @noindent @@ -13544,7 +13681,8 @@ implementation defined interfaces. @sp 1 @cartouche @noindent -@strong{120}. The value of @code{Max_Picture_Length} in the package +@item +The value of @code{Max_Picture_Length} in the package @code{Text_IO.Editing}. See F.3.3(16). @end cartouche @noindent @@ -13553,7 +13691,8 @@ implementation defined interfaces. @sp 1 @cartouche @noindent -@strong{121}. The value of @code{Max_Picture_Length} in the package +@item +The value of @code{Max_Picture_Length} in the package @code{Wide_Text_IO.Editing}. See F.3.4(5). @end cartouche @noindent @@ -13562,7 +13701,8 @@ implementation defined interfaces. @sp 1 @cartouche @noindent -@strong{122}. The accuracy actually achieved by the complex elementary +@item +The accuracy actually achieved by the complex elementary functions and by other complex arithmetic operations. See G.1(1). @end cartouche @noindent @@ -13572,7 +13712,8 @@ operations. Only fast math mode is currently supported. @sp 1 @cartouche @noindent -@strong{123}. The sign of a zero result (or a component thereof) from +@item +The sign of a zero result (or a component thereof) from any operator or function in @code{Numerics.Generic_Complex_Types}, when @code{Real'Signed_Zeros} is True. See G.1.1(53). @end cartouche @@ -13583,7 +13724,8 @@ implementation advice. @sp 1 @cartouche @noindent -@strong{124}. The sign of a zero result (or a component thereof) from +@item +The sign of a zero result (or a component thereof) from any operator or function in @code{Numerics.Generic_Complex_Elementary_Functions}, when @code{Real'Signed_Zeros} is @code{True}. See G.1.2(45). @@ -13595,7 +13737,8 @@ implementation advice. @sp 1 @cartouche @noindent -@strong{125}. Whether the strict mode or the relaxed mode is the +@item +Whether the strict mode or the relaxed mode is the default. See G.2(2). @end cartouche @noindent @@ -13605,7 +13748,8 @@ provides a highly efficient implementation of strict mode. @sp 1 @cartouche @noindent -@strong{126}. The result interval in certain cases of fixed-to-float +@item +The result interval in certain cases of fixed-to-float conversion. See G.2.1(10). @end cartouche @noindent @@ -13616,7 +13760,8 @@ floating-point format. @sp 1 @cartouche @noindent -@strong{127}. The result of a floating point arithmetic operation in +@item +The result of a floating point arithmetic operation in overflow situations, when the @code{Machine_Overflows} attribute of the result type is @code{False}. See G.2.1(13). @end cartouche @@ -13633,7 +13778,8 @@ properly generated. @sp 1 @cartouche @noindent -@strong{128}. The result interval for division (or exponentiation by a +@item +The result interval for division (or exponentiation by a negative exponent), when the floating point hardware implements division as multiplication by a reciprocal. See G.2.1(16). @end cartouche @@ -13643,7 +13789,8 @@ Not relevant, division is IEEE exact. @sp 1 @cartouche @noindent -@strong{129}. The definition of close result set, which determines the +@item +The definition of close result set, which determines the accuracy of certain fixed point multiplications and divisions. See G.2.3(5). @end cartouche @@ -13656,7 +13803,8 @@ is converted to the target type. @sp 1 @cartouche @noindent -@strong{130}. Conditions on a @code{universal_real} operand of a fixed +@item +Conditions on a @code{universal_real} operand of a fixed point multiplication or division for which the result shall be in the perfect result set. See G.2.3(22). @end cartouche @@ -13668,7 +13816,8 @@ representable in 64-bits. @sp 1 @cartouche @noindent -@strong{131}. The result of a fixed point arithmetic operation in +@item +The result of a fixed point arithmetic operation in overflow situations, when the @code{Machine_Overflows} attribute of the result type is @code{False}. See G.2.3(27). @end cartouche @@ -13679,7 +13828,8 @@ types. @sp 1 @cartouche @noindent -@strong{132}. The result of an elementary function reference in +@item +The result of an elementary function reference in overflow situations, when the @code{Machine_Overflows} attribute of the result type is @code{False}. See G.2.4(4). @end cartouche @@ -13689,7 +13839,8 @@ IEEE infinite and Nan values are produced as appropriate. @sp 1 @cartouche @noindent -@strong{133}. The value of the angle threshold, within which certain +@item +The value of the angle threshold, within which certain elementary functions, complex arithmetic operations, and complex elementary functions yield results conforming to a maximum relative error bound. See G.2.4(10). @@ -13700,7 +13851,8 @@ Information on this subject is not yet available. @sp 1 @cartouche @noindent -@strong{134}. The accuracy of certain elementary functions for +@item +The accuracy of certain elementary functions for parameters beyond the angle threshold. See G.2.4(10). @end cartouche @noindent @@ -13709,7 +13861,8 @@ Information on this subject is not yet available. @sp 1 @cartouche @noindent -@strong{135}. The result of a complex arithmetic operation or complex +@item +The result of a complex arithmetic operation or complex elementary function reference in overflow situations, when the @code{Machine_Overflows} attribute of the corresponding real type is @code{False}. See G.2.6(5). @@ -13720,7 +13873,8 @@ IEEE infinite and Nan values are produced as appropriate. @sp 1 @cartouche @noindent -@strong{136}. The accuracy of certain complex arithmetic operations and +@item +The accuracy of certain complex arithmetic operations and certain complex elementary functions for parameters (or components thereof) beyond the angle threshold. See G.2.6(8). @end cartouche @@ -13730,7 +13884,8 @@ Information on those subjects is not yet available. @sp 1 @cartouche @noindent -@strong{137}. Information regarding bounded errors and erroneous +@item +Information regarding bounded errors and erroneous execution. See H.2(1). @end cartouche @noindent @@ -13739,7 +13894,8 @@ Information on this subject is not yet available. @sp 1 @cartouche @noindent -@strong{138}. Implementation-defined aspects of pragma +@item +Implementation-defined aspects of pragma @code{Inspection_Point}. See H.3.2(8). @end cartouche @noindent @@ -13749,7 +13905,8 @@ be examined by the debugger at the inspection point. @sp 1 @cartouche @noindent -@strong{139}. Implementation-defined aspects of pragma +@item +Implementation-defined aspects of pragma @code{Restrictions}. See H.4(25). @end cartouche @noindent @@ -13760,12 +13917,17 @@ generated code. Checks must suppressed by use of pragma @code{Suppress}. @sp 1 @cartouche @noindent -@strong{140}. Any restrictions on pragma @code{Restrictions}. See +@item +Any restrictions on pragma @code{Restrictions}. See H.4(27). @end cartouche @noindent There are no restrictions on pragma @code{Restrictions}. +@end itemize + + +@c ======================= @node Intrinsic Subprograms @chapter Intrinsic Subprograms @cindex Intrinsic Subprograms @@ -19114,7 +19276,7 @@ standard Ada library and are more convenient to use. @noindent A simple implementation of regular expressions, using a subset of regular expression syntax copied from familiar Unix style utilities. This is the -simples of the three pattern matching packages provided, and is particularly +simplest of the three pattern matching packages provided, and is particularly suitable for ``file globbing'' applications. @node GNAT.Registry (g-regist.ads) diff --git a/gcc/ada/lib-xref.adb b/gcc/ada/lib-xref.adb index ed1138927cf..d99c054c7eb 100644 --- a/gcc/ada/lib-xref.adb +++ b/gcc/ada/lib-xref.adb @@ -868,7 +868,7 @@ package body Lib.Xref is else Error_Msg_NE -- CODEFIX - ("?pragma Unreferenced given for&!", N, E); + ("??pragma Unreferenced given for&!", N, E); end if; end if; diff --git a/gcc/ada/par-endh.adb b/gcc/ada/par-endh.adb index d22cce2a534..3c065ec9fb9 100644 --- a/gcc/ada/par-endh.adb +++ b/gcc/ada/par-endh.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1992-2013, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2014, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -412,7 +412,7 @@ package body Endh is Error_Msg_SC ("misplaced aspects for package declaration"); Error_Msg - ("info: aspect specifications belong here", Is_Loc); + ("info: aspect specifications belong here??", Is_Loc); P_Aspect_Specifications (Empty); -- Other cases where aspect specifications are not allowed diff --git a/gcc/ada/sem_aggr.adb b/gcc/ada/sem_aggr.adb index bb1794444cd..df24ba272e3 100644 --- a/gcc/ada/sem_aggr.adb +++ b/gcc/ada/sem_aggr.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1992-2013, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2014, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -4749,7 +4749,7 @@ package body Sem_Aggr is Error_Msg_N ("(Ada 2005) null not allowed in null-excluding component??", Expr); Error_Msg_N - ("\Constraint_Error will be raised at run time?", Expr); + ("\Constraint_Error will be raised at run time??", Expr); Rewrite (Expr, Make_Raise_Constraint_Error diff --git a/gcc/ada/sem_attr.adb b/gcc/ada/sem_attr.adb index 968ba008ec3..b1a7ee56b47 100644 --- a/gcc/ada/sem_attr.adb +++ b/gcc/ada/sem_attr.adb @@ -4492,7 +4492,7 @@ package body Sem_Attr is if Is_Potentially_Unevaluated (P) then Error_Msg_Name_1 := Aname; Error_Msg_N - ("?prefix of attribute % is always evaluated when " + ("??prefix of attribute % is always evaluated when " & "related consequence is selected", P); end if; diff --git a/gcc/ada/sem_cat.adb b/gcc/ada/sem_cat.adb index 47736565dd5..f17a9812b53 100644 --- a/gcc/ada/sem_cat.adb +++ b/gcc/ada/sem_cat.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1992-2013, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2014, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -277,7 +277,7 @@ package body Sem_Cat is and then Is_Preelaborated (Depended_Entity) then Error_Msg_NE - (" Y_Size then Error_Msg_NE - ("?& overlays smaller object", ACCR.N, ACCR.X); + ("??& overlays smaller object", ACCR.N, ACCR.X); Error_Msg_N ("\??program execution may be erroneous", ACCR.N); Error_Msg_Uint_1 := X_Size; @@ -11926,7 +11926,7 @@ package body Sem_Ch13 is elsif Is_Unsigned_Type (Source) then Error_Msg ("\?z?source will be extended with ^ high order " - & "zero bits?!", Eloc); + & "zero bits!", Eloc); else Error_Msg diff --git a/gcc/ada/sem_ch3.adb b/gcc/ada/sem_ch3.adb index 293a3f695cd..7131adb7018 100644 --- a/gcc/ada/sem_ch3.adb +++ b/gcc/ada/sem_ch3.adb @@ -10227,7 +10227,7 @@ package body Sem_Ch3 is if GNAT_Mode then Error_Msg_N - ("?cannot initialize entities of limited type!", Exp); + ("??cannot initialize entities of limited type!", Exp); elsif Ada_Version < Ada_2005 then @@ -19458,7 +19458,7 @@ package body Sem_Ch3 is if Is_Class_Wide_Type (Designated_Type (Subtype_Mark_Id)) then if Comes_From_Source (S) then Error_Msg_N - ("constraint on class-wide type ignored?", + ("constraint on class-wide type ignored??", Constraint (S)); end if; diff --git a/gcc/ada/sem_ch6.adb b/gcc/ada/sem_ch6.adb index 01187831fe1..3695c0ad1c1 100644 --- a/gcc/ada/sem_ch6.adb +++ b/gcc/ada/sem_ch6.adb @@ -933,8 +933,8 @@ package body Sem_Ch6 is -- Can it really happen (extended return???) Error_Msg_N - ("aliased only allowed for limited" - & " return objects in Ada 2012?", N); + ("aliased only allowed for limited return objects " + & "in Ada 2012??", N); elsif not Is_Limited_View (R_Type) then Error_Msg_N ("aliased only allowed for limited" @@ -2817,7 +2817,7 @@ package body Sem_Ch6 is elsif Ekind (Scope (Spec_Id)) = E_Protected_Type then Error_Msg_Warn := Error_To_Warning; Error_Msg_N - ("