Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jul 2019 22:05:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 239266] lang/gcc8 fails to build with clang8: tree-vect-loop.c:4979:12: error: expected unqualified-id
Message-ID:  <bug-239266-29464-S6l74kyPR0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-239266-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-239266-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239266

--- Comment #16 from Piotr Kubaj <pkubaj@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:4=
718:12:
error: expected unqualified-id
      tree vec_step =3D build_vector_from_val (cr_index_vector_type, step);
           ^
/tmp/usr/ports/lang/gcc10-devel/work/gcc-10-20190714/gcc/tree-vect-loop.c:4=
724: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:7=
478: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:7=
478: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:7=
670:16:
error: expected expression
      vec_step =3D vect_init_vector (stmt_info, new_vec, vectype, NULL);

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239266-29464-S6l74kyPR0>