This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Tested on i686-linux, committed on trunk
This patch improves the error messages generated by the frontend with
wrong use of null-excluding anonymous access types. For example:
--
procedure k (m : not null in integer);
--
Command: gcc -c -gnat05 k.ads
Output: k.ads:1:18: "not null" can only be used with "access"
k.ads:1:18: "in" not allowed together with "access"
2007-08-14 Javier Miranda <miranda@adacore.com>
* par-ch6.adb (P_Formal_Part): Fix wrong error message associated with
null-excluding access types.
Attachment:
difs
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |