You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ada: Fix explicit raise on subtype of lock-free protected type
The issue is that the Uses_Lock_Free flag is not propagated to the subtype.
gcc/ada/
* sem_ch3.adb (Analyze_Subtype_Declaration) <Concurrent_Kind>:
Propagate the Uses_Lock_Free flag for protected types.
gcc/testsuite/
* gnat.dg/protected_subtype1.adb: New test.
0 commit comments