[Ada] Warn on unknown aspect
authorArnaud Charlet <charlet@adacore.com>
Mon, 22 Jun 2020 06:59:37 +0000 (02:59 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 15 Oct 2020 09:39:07 +0000 (05:39 -0400)
commitacc1708cf088b47919785e6a50fa7a636b3fb82b
treecc9e63ebe789d3cb1661f377693d0c80c5c98698
parentc2c8f0d0428e178120f78ae62107dd608cf8ccfd
[Ada] Warn on unknown aspect

gcc/ada/

* par-ch13.adb (Get_Aspect_Specifications): Generate a warning
rather than an error on unknown aspects unless -gnatd2 is used.
(Aspect_Specifications_Present): Improve detection of unknown
aspects.
* debug.adb (Debug_Flag_2): Update document.
gcc/ada/debug.adb
gcc/ada/par-ch13.adb