From ccc089dca7d148074f7d7d669757d8fc5144b129 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Tue, 26 Aug 2014 09:21:18 +0000 Subject: [PATCH] re PR c/61271 (10 * possible coding error with logical not (!)) PR c/61271 * tree-vectorizer.h (LOOP_REQUIRES_VERSIONING_FOR_ALIGNMENT, LOOP_REQUIRES_VERSIONING_FOR_ALIAS): Wrap in parens. From-SVN: r214493 --- gcc/ChangeLog | 6 ++++++ gcc/tree-vectorizer.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fbfeccb93aa..3da91ffe71d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-08-26 Marek Polacek + + PR c/61271 + * tree-vectorizer.h (LOOP_REQUIRES_VERSIONING_FOR_ALIGNMENT, + LOOP_REQUIRES_VERSIONING_FOR_ALIAS): Wrap in parens. + 2014-08-26 Richard Biener PR tree-optimization/62175 diff --git a/gcc/tree-vectorizer.h b/gcc/tree-vectorizer.h index a38443e142f..95209bc6a51 100644 --- a/gcc/tree-vectorizer.h +++ b/gcc/tree-vectorizer.h @@ -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) -- 2.30.2