[Ada] Missing propagation of Has_Predicates in cloned subtypes
Pierre-Marie de Rodat
derodat@adacore.com
Tue Sep 17 08:07:00 GMT 2019
The frontend silently skips propagating attributes Has_Predicates and
Predicate function to the internally built cloned subtype. This change
does not affect the functionality of the compiler; it leaves more clean
the decoration of internal entities.
Tested on x86_64-pc-linux-gnu, committed on trunk
2019-09-17 Javier Miranda <miranda@adacore.com>
gcc/ada/
* sem_ch3.adb (Complete_Private_Subtype): Propagate attributes
Has_Attributes and Predicate_Function to the cloned subtype.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 677 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190917/5d0b129a/attachment.bin>
More information about the Gcc-patches
mailing list