diff options
author | Patrick Palka <patrick@parcs.ath.cx> | 2014-04-29 16:30:20 +0700 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2014-04-29 09:30:20 +0000 |
commit | 36f291f7656bfdb4103fa3dfb3e60fbbca5b1169 (patch) | |
tree | ed32f23bef68473254e910ebd09176363796ebef /gcc | |
parent | d3a3182b5d2ca6551e241ec22f171299b2495c4e (diff) | |
download | gcc-36f291f7656bfdb4103fa3dfb3e60fbbca5b1169.zip gcc-36f291f7656bfdb4103fa3dfb3e60fbbca5b1169.tar.gz gcc-36f291f7656bfdb4103fa3dfb3e60fbbca5b1169.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 2 | ||||
-rw-r--r-- | gcc/gimple.c | 4 | ||||
-rw-r--r-- | gcc/tree-vrp.c | 4 |
4 files changed, 12 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9bc2ce0..ea10551 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +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> * config/aarch64/aarch64.md (mov<mode>cc): New for GPF. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index da7a00e..cc6d405 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 8552a17..0b34ff1 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 042f712..0dfbfca 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 <V, V OP W>'. */ + 'N = ASSERT_EXPR <V, V OP W>'. */ static gimple build_assert_expr_for (tree cond, tree v) @@ -6118,7 +6118,7 @@ process_assert_insertions (void) } else { - y = ASSERT_EXPR <y, x <= y> + y = ASSERT_EXPR <y, x >= y> x = y + 3 } |