summaryrefslogtreecommitdiffstats
path: root/gcc/ada/i-cstrin.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-02 09:41:50 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-02 09:41:50 +0000
commit8398ba2ca240874953d4838e7c0f9aba7a164359 (patch)
tree583d07f48683ebbc4092aa606fc00a067241259c /gcc/ada/i-cstrin.ads
parentcf5bd6626e923a76465ea4f3042303b91d8f2861 (diff)
downloadppe42-gcc-8398ba2ca240874953d4838e7c0f9aba7a164359.tar.gz
ppe42-gcc-8398ba2ca240874953d4838e7c0f9aba7a164359.zip
2011-08-02 Robert Dewar <dewar@adacore.com>
* mlib-prj.adb, restrict.ads, sem_aggr.adb, sem_ch12.adb: Minor reformatting. 2011-08-02 Robert Dewar <dewar@adacore.com> * aspects.adb: New aspects Default_Value and Default_Component_Value New format of Aspect_Names table checks for omitted entries * aspects.ads: Remove mention of Aspect_Cancel and add documentation on handling of boolean aspects for derived types. New aspects Default_Value and Default_Component_Value New format of Aspect_Names table checks for omitted entries * einfo.ads, einfo.adb (Has_Default_Component_Value): New flag (Has_Default_Value): New flag (Has_Default_Component_Value): New flag (Has_Default_Value): New flag * par-ch13.adb (P_Aspect_Specifications): New format of Aspect_Names table. * par-prag.adb: New pragmas Default_Value and Default_Component_Value * sem_ch13.adb (Analyze_Aspect_Specifications): New aspects Default_Value and Default_Component_Value * sem_prag.adb: New pragmas Default_Value and Default_Component_Value New aspects Default_Value and Default_Component_Value * snames.ads-tmpl: New pragmas Default_Value and Default_Component_Value * sprint.adb: Print N_Aspect_Specification node when called from gdb 2011-08-02 Ed Schonberg <schonberg@adacore.com> * sem_res.adb: Add guards in calls to Matching_Static_Array_Bounds. Minor reformatting. 2011-08-02 Robert Dewar <dewar@adacore.com> * i-cstrin.ads: Updates to make Interfaces.C.Strings match RM git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177110 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/i-cstrin.ads')
-rw-r--r--gcc/ada/i-cstrin.ads3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ada/i-cstrin.ads b/gcc/ada/i-cstrin.ads
index bc6df774add..99f2afe7f63 100644
--- a/gcc/ada/i-cstrin.ads
+++ b/gcc/ada/i-cstrin.ads
@@ -45,8 +45,9 @@ package Interfaces.C.Strings is
-- strict aliasing assumptions for this type.
type chars_ptr is private;
+ pragma Preelaborable_Initialization (chars_ptr);
- type chars_ptr_array is array (size_t range <>) of chars_ptr;
+ type chars_ptr_array is array (size_t range <>) of aliased chars_ptr;
Null_Ptr : constant chars_ptr;
OpenPOWER on IntegriCloud