[Ada] Don't check No_Wide_Characters restriction for illegal types
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 10 Mar 2021 17:06:21 +0000 (18:06 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 17 Jun 2021 14:32:14 +0000 (10:32 -0400)
commitfc473ce74c64fa0d5027aa4045579ec39d78a4c4
tree23edaa09a4138b16c84b8767caa78507131000a4
parent4476d9345547473030a8a041d3178bb54ed49bef
[Ada] Don't check No_Wide_Characters restriction for illegal types

gcc/ada/

* sem_ch3.adb (Analyze_Private_Extension_Declaration): Check
No_Wide_Characters restriction after rejecting illegal parent
types.
(Derived_Type_Declaration): Likewise.
(Find_Type_Of_Subtype_Indic): Remove check for
No_Wide_Characters restriction, which was done too early.
gcc/ada/sem_ch3.adb