Commit 36f291f7 by Patrick Palka Committed by Richard Biener

invoke.texi: Fix typo.

2014-04-29  Patrick Palka  <patrick@parcs.ath.cx>

	* doc/invoke.texi: Fix typo.
	* tree-vrp.c: Fix typos.
	* gimple.c (infer_nonnull_range): Reorder operands of an &&
	condition.

From-SVN: r209891
parent d3a3182b
2014-04-29 Patrick Palka <patrick@parcs.ath.cx>
* doc/invoke.texi: Fix typo.
* tree-vrp.c: Fix typos.
* gimple.c (infer_nonnull_range): Reorder operands of an &&
condition.
2014-04-29 Zhenqiang Chen <zhenqiang.chen@linaro.org> 2014-04-29 Zhenqiang Chen <zhenqiang.chen@linaro.org>
* config/aarch64/aarch64.md (mov<mode>cc): New for GPF. * config/aarch64/aarch64.md (mov<mode>cc): New for GPF.
......
...@@ -4732,7 +4732,7 @@ Warn if a global function is defined without a previous declaration. ...@@ -4732,7 +4732,7 @@ Warn if a global function is defined without a previous declaration.
Do so even if the definition itself provides a prototype. Do so even if the definition itself provides a prototype.
Use this option to detect global functions that are not declared in Use this option to detect global functions that are not declared in
header files. In C, no warnings are issued for functions with previous header files. In C, no warnings are issued for functions with previous
non-prototype declarations; use @option{-Wmissing-prototype} to detect non-prototype declarations; use @option{-Wmissing-prototypes} to detect
missing prototypes. In C++, no warnings are issued for function templates, missing prototypes. In C++, no warnings are issued for function templates,
or for inline functions, or for functions in anonymous namespaces. or for inline functions, or for functions in anonymous namespaces.
......
...@@ -2565,8 +2565,8 @@ infer_nonnull_range (gimple stmt, tree op, bool dereference, bool attribute) ...@@ -2565,8 +2565,8 @@ infer_nonnull_range (gimple stmt, tree op, bool dereference, bool attribute)
{ {
for (unsigned int i = 0; i < gimple_call_num_args (stmt); i++) for (unsigned int i = 0; i < gimple_call_num_args (stmt); i++)
{ {
if (operand_equal_p (op, gimple_call_arg (stmt, i), 0) if (POINTER_TYPE_P (TREE_TYPE (gimple_call_arg (stmt, i)))
&& POINTER_TYPE_P (TREE_TYPE (gimple_call_arg (stmt, i)))) && operand_equal_p (op, gimple_call_arg (stmt, i), 0))
return true; return true;
} }
return false; return false;
......
...@@ -4432,7 +4432,7 @@ debug_all_value_ranges (void) ...@@ -4432,7 +4432,7 @@ debug_all_value_ranges (void)
/* Given a COND_EXPR COND of the form 'V OP W', and an SSA name V, /* Given a COND_EXPR COND of the form 'V OP W', and an SSA name V,
create a new SSA name N and return the assertion assignment create a new SSA name N and return the assertion assignment
'V = ASSERT_EXPR <V, V OP W>'. */ 'N = ASSERT_EXPR <V, V OP W>'. */
static gimple static gimple
build_assert_expr_for (tree cond, tree v) build_assert_expr_for (tree cond, tree v)
...@@ -6118,7 +6118,7 @@ process_assert_insertions (void) ...@@ -6118,7 +6118,7 @@ process_assert_insertions (void)
} }
else else
{ {
y = ASSERT_EXPR <y, x <= y> y = ASSERT_EXPR <y, x >= y>
x = y + 3 x = y + 3
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment