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

From-SVN: r214493

gcc/ChangeLog
gcc/tree-vectorizer.h

index fbfeccb93aae93630497b43193dac1019bed4b1f..3da91ffe71d232d305a89f8ae9d27762b19622eb 100644 (file)
@@ -1,3 +1,9 @@
+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-26  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/62175
index a38443e142ff623c2e8e7b182236cf598dac8e90..95209bc6a51de7887bad5d712b76734120b569e8 100644 (file)
@@ -414,9 +414,9 @@ typedef struct _loop_vec_info {
 #define LOOP_VINFO_SCALAR_LOOP(L)         (L)->scalar_loop
 
 #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 LOOP_VINFO_NITERS_KNOWN_P(L)          \
   (tree_fits_shwi_p ((L)->num_iters) && tree_to_shwi ((L)->num_iters) > 0)