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: [040/nnn] poly_int: get_inner_reference & co.


On Fri, Dec 21, 2018 at 12:10:26PM +0100, Thomas Schwinge wrote:
> 	gcc/
> 	* gimplify.c (gimplify_scan_omp_clauses): Fix known_eq typo/bug.

Ok, thanks.

> ---
>  gcc/gimplify.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gcc/gimplify.c b/gcc/gimplify.c
> index 465d138abbed..40ed18e30271 100644
> --- a/gcc/gimplify.c
> +++ b/gcc/gimplify.c
> @@ -8719,7 +8719,7 @@ gimplify_scan_omp_clauses (tree *list_p, gimple_seq *pre_p,
>  			      o2 = 0;
>  			    o2 += bits_to_bytes_round_down (bitpos2);
>  			    if (maybe_lt (o1, o2)
> -				|| (known_eq (o1, 2)
> +				|| (known_eq (o1, o2)
>  				    && maybe_lt (bitpos, bitpos2)))
>  			      {
>  				if (ptr)
> -- 
> 2.17.1
> 


	Jakub


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