From 36f291f7656bfdb4103fa3dfb3e60fbbca5b1169 Mon Sep 17 00:00:00 2001 From: Patrick Palka Date: Tue, 29 Apr 2014 16:30:20 +0700 Subject: [PATCH] invoke.texi: Fix typo. 2014-04-29 Patrick Palka * doc/invoke.texi: Fix typo. * tree-vrp.c: Fix typos. * gimple.c (infer_nonnull_range): Reorder operands of an && condition. From-SVN: r209891 --- gcc/ChangeLog | 7 +++++++ gcc/doc/invoke.texi | 2 +- gcc/gimple.c | 4 ++-- gcc/tree-vrp.c | 4 ++-- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9bc2ce05d38..ea10551f183 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2014-04-29 Patrick Palka + + * 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 * config/aarch64/aarch64.md (movcc): New for GPF. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index da7a00ed00c..cc6d405f168 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -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. Use this option to detect global functions that are not declared in 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, or for inline functions, or for functions in anonymous namespaces. diff --git a/gcc/gimple.c b/gcc/gimple.c index 8552a17920a..0b34ff1e1c7 100644 --- a/gcc/gimple.c +++ b/gcc/gimple.c @@ -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++) { - if (operand_equal_p (op, gimple_call_arg (stmt, i), 0) - && POINTER_TYPE_P (TREE_TYPE (gimple_call_arg (stmt, i)))) + if (POINTER_TYPE_P (TREE_TYPE (gimple_call_arg (stmt, i))) + && operand_equal_p (op, gimple_call_arg (stmt, i), 0)) return true; } return false; diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c index 042f7121133..0dfbfca4a2a 100644 --- a/gcc/tree-vrp.c +++ b/gcc/tree-vrp.c @@ -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, create a new SSA name N and return the assertion assignment - 'V = ASSERT_EXPR '. */ + 'N = ASSERT_EXPR '. */ static gimple build_assert_expr_for (tree cond, tree v) @@ -6118,7 +6118,7 @@ process_assert_insertions (void) } else { - y = ASSERT_EXPR + y = ASSERT_EXPR = y> x = y + 3 } -- 2.30.2