This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [040/nnn] poly_int: get_inner_reference & co.
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Thomas Schwinge <thomas at codesourcery dot com>
- Cc: Richard Sandiford <rdsandiford at googlemail dot com>, gcc-patches at gcc dot gnu dot org, Julian Brown <julian at codesourcery dot com>
- Date: Fri, 21 Dec 2018 12:17:17 +0100
- Subject: Re: [040/nnn] poly_int: get_inner_reference & co.
- References: <871sltvm7r.fsf@linaro.org> <873769okb1.fsf@linaro.org> <87y38jp23h.fsf@euler.schwinge.homeip.net>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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