fold-const.c (simple_operand_p_2): New function.
authorKai Tietz <ktietz@redhat.com>
Mon, 17 Oct 2011 20:18:31 +0000 (22:18 +0200)
committerKai Tietz <ktietz@gcc.gnu.org>
Mon, 17 Oct 2011 20:18:31 +0000 (22:18 +0200)
commit6e796a83744b60e9e299c74170cf18bdd4716e42
treedec5203f466988b4b7edce44ebcf1a40da0880c8
parent1eca213e3f5ee0be63a7befbde35d2c7e1ad6fb7
fold-const.c (simple_operand_p_2): New function.

* fold-const.c (simple_operand_p_2): New function.
(fold_truthop): Rename to
(fold_truth_andor_1): function name.
Additionally remove branching creation for logical and/or.
(fold_truth_andor): Handle branching creation for logical and/or here.

From-SVN: r180109
gcc/ChangeLog
gcc/fold-const.c