[Bug 239266] lang/gcc8 fails to build with clang8: tree-vect-loop.c:4979:12: error: expected unqualified-id

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 24 22:05:05 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239266

--- Comment #16 from Piotr Kubaj <pkubaj at FreeBSD.org> ---
(In reply to Andreas Tobler from comment #15)
Your patch is slightly incorrect (missing esac), but even after correcting it,
I still get the same error:
/tmp/usr/ports/lang/gcc10-devel/work/gcc-10-20190714/gcc/tree-vect-loop.c:4718:12:
error: expected unqualified-id
      tree vec_step = build_vector_from_val (cr_index_vector_type, step);
           ^
/tmp/usr/ports/lang/gcc10-devel/work/gcc-10-20190714/gcc/tree-vect-loop.c:4724:39:
error: expected expression
      create_iv (series_vect, vec_step, NULL_TREE, loop, &incr_gsi,
                                      ^
/tmp/usr/ports/lang/gcc10-devel/work/gcc-10-20190714/gcc/tree-vect-loop.c:7478:27:
error: expected unqualified-id
  tree new_vec, vec_init, vec_step, t;
                          ^
/tmp/usr/ports/lang/gcc10-devel/work/gcc-10-20190714/gcc/tree-vect-loop.c:7478:26:
error: expected ';' at end of declaration
  tree new_vec, vec_init, vec_step, t;
                         ^
                         ;
/tmp/usr/ports/lang/gcc10-devel/work/gcc-10-20190714/gcc/tree-vect-loop.c:7670:16:
error: expected expression
      vec_step = vect_init_vector (stmt_info, new_vec, vectype, NULL);

I pass --with-abi=elfv2 in CONFIGURE_ARGS and there are no other patches.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-toolchain mailing list