[Ada] Bad warning: Size in Compile_Time_Error in nested instance
authorBob Duff <duff@adacore.com>
Mon, 16 Dec 2019 10:33:50 +0000 (10:33 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Mon, 16 Dec 2019 10:33:50 +0000 (10:33 +0000)
commit4a1872632c20e4b93d5d3214505470966c0bebb4
tree8cfda6d6a309502ec596cb763dbaa7ca5c589ac6
parentd8468b976bb2721c32368e2a80591e77ca49250f
[Ada] Bad warning: Size in Compile_Time_Error in nested instance

2019-12-16  Bob Duff  <duff@adacore.com>

gcc/ada/

* sem_attr.adb (Analyze_Attribute): Use Known_RM_Size. But we
still need Size_Known_At_Compile_Time, because when the size
really is known, sometimes only one or the other of these is
True.

From-SVN: r279421
gcc/ada/ChangeLog
gcc/ada/sem_attr.adb