[PATCH] ada: Use explicit conversion to VString_Ptr

Arnaud Charlet charlet@adacore.com
Thu Dec 13 16:34:00 GMT 2007


> Replace .all'Unchecked_Access by an explicit conversion to VString_Ptr,
> as is done in BreakX already.
> 
>     gcc/ada/
> 	* g-spipat.adb (Break): Use explicit conversion to VString_Ptr.

No, this change is wrong. We just did exactly the opposite of that for good
reasons, see the message I just sent on gcc-patches
([Ada] Fix accessibility error in GNAT.Spitbol.Patterns), and
see svn log/svn annotate.

Arno



More information about the Gcc-patches mailing list