repinfo.ads: Document new treatment of dynamic values.
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 5 Sep 2017 08:40:09 +0000 (08:40 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 5 Sep 2017 08:40:09 +0000 (08:40 +0000)
commite45f84a5f9cf7e31ae46c6c557f6896d0b1db5c2
tree4fe408e93fafc4c7823b8629dd06e278306d24d7
parent6a9db54cc1e778e99998591920471a1e2eb5d7e1
repinfo.ads: Document new treatment of dynamic values.

* repinfo.ads: Document new treatment of dynamic values.
(TCode): Bump upper bound to 29.
(Dynamic_Val): New constant set to 29.
* repinfo.adb (Print_Expr) <Dynamic_Val>: New case.
(Rep_Value)  <Dynamic_Val>: Likewise.
* repinfo.h (Dynamic_Val): New macro.
* gcc-interface/decl.c (annotate_value): Tidy up and cache result for
DECL_P nodes too.
<INTEGER_CST>: Set TCODE instead of recursing.
<COMPONENT_REF>: Set TCODE instead of calling Create_Node manually.
<VAR_DECL>: New case.
<MULT_EXPR, PLUS_EXPR>: Fold conversions into inner operations.
<BIT_AND_EXPR>: Adjust.
<CALL_EXPR>: Do not fall through.

From-SVN: r251698
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/repinfo.adb
gcc/ada/repinfo.ads
gcc/ada/repinfo.h