From: Roger Sayle Date: Fri, 11 Jun 2021 16:42:14 +0000 (+0100) Subject: [PATCH] PR tree-optimization/96392 Optimize x+0.0 if x is an integer X-Git-Tag: basepoints/gcc-13~6919 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a761829ae06a754f72ff957cbedb21f4d98fab70;p=thirdparty%2Fgcc.git [PATCH] PR tree-optimization/96392 Optimize x+0.0 if x is an integer Doh! Wrong patch version. Sorry for the inconvenience. 2020-06-11 Roger Sayle gcc/ChangeLog PR tree-optimization/96392 * fold-const.h (tree_expr_maybe_real_minus_zero_p): Fix prototype. --- diff --git a/gcc/fold-const.h b/gcc/fold-const.h index 0d8d786381ea..7bac84ba3314 100644 --- a/gcc/fold-const.h +++ b/gcc/fold-const.h @@ -196,7 +196,7 @@ extern bool tree_expr_signaling_nan_p (const_tree); extern bool tree_expr_maybe_signaling_nan_p (const_tree); extern bool tree_expr_nan_p (const_tree); extern bool tree_expr_maybe_nan_p (const_tree); -extern bool tree_maybe_real_minus_zero_p (const_tree); +extern bool tree_expr_maybe_real_minus_zero_p (const_tree); extern tree make_range (tree, int *, tree *, tree *, bool *); extern tree make_range_step (location_t, enum tree_code, tree, tree, tree, tree *, tree *, int *, bool *);