This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [autovect] [patch] Bring fixes from mainline







Keith Besaw <kbesaw@us.ibm.com> wrote on 01/05/2005 10:07:57 AM:

> In the following host_integerp will do a check for TREE_CODE (misalign)
==
> INTEGER_CST while
> the replacement tree_int_cst_sgn does not.  Is misalign guaranteed to be
> an INTEGER_CST or
> should the test be if (TREE_CODE (misalign) != INTEGER_CST ||
> tree_int_cst_sgn (misalign) < 0)?

misalign is guaranteed to be an INTEGER_CST. This is verified in function
vect_analyze_offset_expr and results from the code in function
vect_get_base_and_offset.

>
> Keith Besaw
>

Ira


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]