dwarf2out.c (analyze_discr_in_predicate): Simplify.
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 14 Dec 2018 10:53:41 +0000 (10:53 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 14 Dec 2018 10:53:41 +0000 (10:53 +0000)
commitfcdc7fd55df451a405f040733c29b8fe3d20cff1
tree4df96b3c4eb8310d8d483978186ec49bb6cb75de
parent544a4843e8873ce0dc08b2e1cde8978b15d23628
dwarf2out.c (analyze_discr_in_predicate): Simplify.

* dwarf2out.c (analyze_discr_in_predicate): Simplify.
(analyze_variants_discr): Deal with naked boolean discriminants.
ada/
* gcc-interface/decl.c (choices_to_gnu): Directly use a naked boolean
discriminant if the value is the boolean true.

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