[Ada] Minor cleanup in repinfo unit
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 28 May 2018 08:56:08 +0000 (08:56 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Mon, 28 May 2018 08:56:08 +0000 (08:56 +0000)
commit72da915b16e6fcd36ae59b99faa4070f97ae59d9
tree1e40aeec5337b0badc559e183ea199a1a9f3b8b0
parent184a6ba6e0ca03795058e2ab1f3c29d96601c560
[Ada] Minor cleanup in repinfo unit

This removes the Truth_Andif_Expr and Truth_Orif_Expr codes for expressions
handled by the repinfo unit, since they are redundant with Truth_And_Expr
and Truth_Or_Expr respectively in this context.  No functional changes.

2018-05-28  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* repinfo.ads (TCode): Adjust range.
(Truth_Andif_Expr): Remove.
(Truth_Orif_Expr): Likewise.
(Truth_And_Expr .. Dynamic_Val): Adjust value.
* repinfo.adb (Print_Expr): Remove handling of Truth_{And,Or}if_Expr.
(Rep_Value): Likewise.
* repinfo.h (Truth_Andif_Expr): Remove.
(Truth_Orif_Expr): Likewise.
(Truth_And_Expr .. Dynamic_Val): Adjust value.
* gcc-interface/decl.c (annotate_value) <TRUTH_ANDIF_EXPR>: Fall
through to TRUTH_AND_EXPR case.
<TRUTH_ORIF_EXPR>: Fall through to TRUTH_OR_EXPR case.

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