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

[email protected]
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239266

--- Comment #4 from Leandro Lupori <[email protected]> ---
Same issue with gcc9:

/usr/ports/lang/gcc9/work/gcc-9.1.0/gcc/tree-vect-loop.c:4569:12: error:
expected unqualified-id
      tree vec_step = build_vector_from_val (cr_index_vector_type, step);
           ^
/usr/ports/lang/gcc9/work/gcc-9.1.0/gcc/tree-vect-loop.c:4575:39: error:
expected expression
      create_iv (series_vect, vec_step, NULL_TREE, loop, &incr_gsi,
                                      ^
/usr/ports/lang/gcc9/work/gcc-9.1.0/gcc/tree-vect-loop.c:7231:27: error:
expected unqualified-id
  tree new_vec, vec_init, vec_step, t;


Actually, gcc9 is currently requiring gcc8 on powerpc64, which is probably not
needed anymore. I've commented that part to force gcc9 build without gcc8.

I'll try to rename vec_step, as Mark suggested, to see if it fixes the issue.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.