r257021 - in /trunk/gcc: ChangeLog fold-const.c...
rsandifo@gcc.gnu.org
rsandifo@gcc.gnu.org
Wed Jan 24 16:22:00 GMT 2018
Author: rsandifo
Date: Wed Jan 24 16:22:30 2018
New Revision: 257021
URL: https://gcc.gnu.org/viewcvs?rev=257021&root=gcc&view=rev
Log:
Fix use of boolean_true/false_node (PR 83979)
r255913 changed some constant_boolean_node calls to boolean_true_node
and boolean_false_node, which meant that the returned tree didn't
always have the right type.
2018-01-24 Richard Sandiford <richard.sandiford@linaro.org>
gcc/
PR tree-optimization/83979
* fold-const.c (fold_comparison): Use constant_boolean_node
instead of boolean_{true,false}_node.
gcc/testsuite/
PR tree-optimization/83979
* g++.dg/pr83979.c: New test.
Added:
trunk/gcc/testsuite/g++.dg/pr83979.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list