aboutsummaryrefslogtreecommitdiff
path: root/gotools
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2015-12-02 14:04:48 -0500
committerJason Merrill <jason@gcc.gnu.org>2015-12-02 14:04:48 -0500
commitf479b43da091fd3ede525b7832cd69a22fb49f9a (patch)
treea2673f4d1a0faba8a3681800dd902ffc2694cc6f /gotools
parent7426fcc84f6e0a410139f60778d8d1c1d32d0283 (diff)
downloadgcc-f479b43da091fd3ede525b7832cd69a22fb49f9a.zip
gcc-f479b43da091fd3ede525b7832cd69a22fb49f9a.tar.gz
gcc-f479b43da091fd3ede525b7832cd69a22fb49f9a.tar.bz2
Do constant folding in warn_* functions.
gcc/c-family/ * c-common.c (fold_for_warn): New. (warn_logical_operator, warn_tautological_cmp) (check_function_arguments_recurse, maybe_warn_bool_compare): Use it. gcc/cp/ * call.c (build_new_op_1): Don't fold arguments to warn_logical_operator or maybe_warn_bool_compare. From-SVN: r231198
Diffstat (limited to 'gotools')
0 files changed, 0 insertions, 0 deletions