[Ada] Fix a folding issue with System'To_Address
authorBob Duff <duff@adacore.com>
Tue, 20 Aug 2019 09:49:23 +0000 (09:49 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Tue, 20 Aug 2019 09:49:23 +0000 (09:49 +0000)
commitf2a35a2fe4a6fef35de549c3aaff120e110cceb8
treec19b127d296dc81e352f3d38158f8ea5bca8abae
parentd21ae867a5a83c7c5dd11a2e51d0c4b2ff9e41b8
[Ada] Fix a folding issue with System'To_Address

2019-08-20  Bob Duff  <duff@adacore.com>

gcc/ada/

* sem_eval.adb (Expr_Value): Implement the case of an unchecked
conversion of a static expression.

From-SVN: r274726
gcc/ada/ChangeLog
gcc/ada/sem_eval.adb