From 830815b9ae9bdfc4be1b944c24d5d9c209ed0741 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Fri, 24 Feb 2017 10:54:00 +0000 Subject: [PATCH] trans.c (gnat_to_gnu): Do not apply special handling of boolean rvalues to function calls. * gcc-interface/trans.c (gnat_to_gnu): Do not apply special handling of boolean rvalues to function calls. From-SVN: r245706 --- gcc/ada/ChangeLog | 5 +++++ gcc/ada/gcc-interface/trans.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index ffa4666d4e9..addb1cb9d15 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2017-02-24 Eric Botcazou + + * gcc-interface/trans.c (gnat_to_gnu): Do not apply special handling + of boolean rvalues to function calls. + 2017-02-24 Eric Botcazou * gcc-interface/utils.c (fold_bit_position): New function. diff --git a/gcc/ada/gcc-interface/trans.c b/gcc/ada/gcc-interface/trans.c index d38a0a96011..0a7ddfcfdbb 100644 --- a/gcc/ada/gcc-interface/trans.c +++ b/gcc/ada/gcc-interface/trans.c @@ -7759,7 +7759,6 @@ gnat_to_gnu (Node_Id gnat_node) && (kind == N_Identifier || kind == N_Expanded_Name || kind == N_Explicit_Dereference - || kind == N_Function_Call || kind == N_Indexed_Component || kind == N_Selected_Component) && TREE_CODE (get_base_type (gnu_result_type)) == BOOLEAN_TYPE -- 2.30.2