]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR c/61271 (10 * possible coding error with logical not (!))
authorMarek Polacek <polacek@redhat.com>
Tue, 26 Aug 2014 09:30:29 +0000 (09:30 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Tue, 26 Aug 2014 09:30:29 +0000 (09:30 +0000)
PR c/61271
* tree-vectorizer.h (LOOP_REQUIRES_VERSIONING_FOR_ALIGNMENT,
LOOP_REQUIRES_VERSIONING_FOR_ALIAS): Wrap in parens.

From-SVN: r214495

gcc/ChangeLog
gcc/tree-vectorizer.h

index e5758615798b9d1a0e39bb0554b15c4b2ebdf060..0c22e0ac9cc9149a2a52c2ad5547d5960e56ad77 100644 (file)
@@ -1,3 +1,12 @@
+2014-08-26  Marek Polacek  <polacek@redhat.com>
+
+       Backport from mainline
+       2014-08-26  Marek Polacek  <polacek@redhat.com>
+
+       PR c/61271
+       * tree-vectorizer.h (LOOP_REQUIRES_VERSIONING_FOR_ALIGNMENT,
+       LOOP_REQUIRES_VERSIONING_FOR_ALIAS): Wrap in parens.
+
 2014-08-24  Oleg Endo  <olegendo@gcc.gnu.org>
 
        Backport from mainline
index e4ef9934c559add63ae94ba25a92093dac909223..d60d0238c32fa477140270184cc52d078675cae7 100644 (file)
@@ -324,9 +324,9 @@ typedef struct _loop_vec_info {
 #define LOOP_VINFO_OPERANDS_SWAPPED(L)     (L)->operands_swapped
 
 #define LOOP_REQUIRES_VERSIONING_FOR_ALIGNMENT(L) \
-(L)->may_misalign_stmts.length () > 0
+((L)->may_misalign_stmts.length () > 0)
 #define LOOP_REQUIRES_VERSIONING_FOR_ALIAS(L)     \
-(L)->may_alias_ddrs.length () > 0
+((L)->may_alias_ddrs.length () > 0)
 
 #define NITERS_KNOWN_P(n)                     \
 (host_integerp ((n),0)                        \