[Ada] Avoid crash on use of Ada 2020 feature
authorBob Duff <duff@adacore.com>
Mon, 21 Sep 2020 10:26:17 +0000 (06:26 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 26 Oct 2020 08:59:14 +0000 (04:59 -0400)
commit10c633b7d6de86c64048ca50eef7a6f87e5ad95f
tree445790e742750af93ce69002adf08a2eb89b5007
parent4b0fe398dbee8050a0a1cf9af8133884c6827454
[Ada] Avoid crash on use of Ada 2020 feature

gcc/ada/

* sem_attr.adb (Check_Image_Type): Remove "|", so the compiler
will not crash.
* errout.ads: Improve comment. This has nothing to do with
-gnatQ.
gcc/ada/errout.ads
gcc/ada/sem_attr.adb