]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: decl.c (annotate_value): Tidy up.
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 6 Feb 2019 23:28:34 +0000 (23:28 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 6 Feb 2019 23:28:34 +0000 (23:28 +0000)
commit71174464215e2fa550a6699117c9aad437fd3eb3
tree9e81127dce6092c8a7926f86597985a0f5f43876
parent19a953fb60da0b0035fc08d35b1bf7f38da22c66
backport: decl.c (annotate_value): Tidy up.

Backport from mainline
2017-09-05  Eric Botcazou  <ebotcazou@adacore.com>

* gcc-interface/decl.c (annotate_value): Tidy up.
<INTEGER_CST>: Set TCODE instead of recursing.
<COMPONENT_REF>: Set TCODE instead of calling Create_Node manually.
<MULT_EXPR, PLUS_EXPR>: Fold conversions into inner operations.
<BIT_AND_EXPR>: Adjust.
<CALL_EXPR>: Do not fall through.

From-SVN: r268598
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c