https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81805

--- Comment #5 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #4)
> (gdb) call debug_generic_expr (cond)
> (signed long) i < 0


And the conversion from unsigned to signed comparison is done here in
c_parser_omp_for_loop:
...
(gdb) call debug_generic_expr (cond)
<<< Unknown tree: c_maybe_const_expr

  i >>> > 9223372036854775807
(gdb) n
15030             cond = c_fully_fold (cond, false, NULL);
(gdb) n
15031             switch (cond_expr.original_code)
(gdb) call debug_generic_expr (cond)
(signed long) i < 0
...

Reply via email to