From dcbd7063fc932fcfe650a39da56e29374e0f461b Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Wed, 5 Aug 2009 10:20:33 -0700 Subject: [PATCH] tree-ssa-alias.c: Fix intervals to use [) syntax. 2009-08-05 Andrew Pinski * tree-ssa-alias.c: Fix intervals to use [) syntax. From-SVN: r150496 --- gcc/ChangeLog | 4 ++++ gcc/tree-ssa-alias.c | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 42dc4316b4b..aa5d192a1e1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2009-08-05 Andrew Pinski + + * tree-ssa-alias.c: Fix intervals to use [) syntax. + 2009-08-05 Uros Bizjak Mikulas Patocka diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c index cabbf05fe59..acfdcae0c0c 100644 --- a/gcc/tree-ssa-alias.c +++ b/gcc/tree-ssa-alias.c @@ -578,8 +578,8 @@ nonaliasing_component_refs_p (tree ref1, tree type1, } /* Return true if two memory references based on the variables BASE1 - and BASE2 constrained to [OFFSET1, OFFSET1 + MAX_SIZE1] and - [OFFSET2, OFFSET2 + MAX_SIZE2] may alias. */ + and BASE2 constrained to [OFFSET1, OFFSET1 + MAX_SIZE1) and + [OFFSET2, OFFSET2 + MAX_SIZE2) may alias. */ static bool decl_refs_may_alias_p (tree base1, @@ -599,8 +599,8 @@ decl_refs_may_alias_p (tree base1, } /* Return true if an indirect reference based on *PTR1 constrained - to [OFFSET1, OFFSET1 + MAX_SIZE1] may alias a variable based on BASE2 - constrained to [OFFSET2, OFFSET2 + MAX_SIZE2]. *PTR1 and BASE2 have + to [OFFSET1, OFFSET1 + MAX_SIZE1) may alias a variable based on BASE2 + constrained to [OFFSET2, OFFSET2 + MAX_SIZE2). *PTR1 and BASE2 have the alias sets BASE1_ALIAS_SET and BASE2_ALIAS_SET which can be -1 in which case they are computed on-demand. REF1 and REF2 if non-NULL are the complete memory reference trees. */ @@ -662,8 +662,8 @@ indirect_ref_may_alias_decl_p (tree ref1, tree ptr1, } /* Return true if two indirect references based on *PTR1 - and *PTR2 constrained to [OFFSET1, OFFSET1 + MAX_SIZE1] and - [OFFSET2, OFFSET2 + MAX_SIZE2] may alias. *PTR1 and *PTR2 have + and *PTR2 constrained to [OFFSET1, OFFSET1 + MAX_SIZE1) and + [OFFSET2, OFFSET2 + MAX_SIZE2) may alias. *PTR1 and *PTR2 have the alias sets BASE1_ALIAS_SET and BASE2_ALIAS_SET which can be -1 in which case they are computed on-demand. REF1 and REF2 if non-NULL are the complete memory reference trees. */