* repinfo.ads: Document new treatment of dynamic values.
commitf7c0889d898bb3df89e45c7858919db4398f9e00
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Sep 2017 08:40:09 +0000 (5 08:40 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Sep 2017 08:40:09 +0000 (5 08:40 +0000)
tree4fe408e93fafc4c7823b8629dd06e278306d24d7
parent9c2c00d63eaf58a31d8a25da483c52656bb5bbc9
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251698 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/repinfo.adb
gcc/ada/repinfo.ads
gcc/ada/repinfo.h