[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

            Bug ID: 239266
           Summary: lang/gcc8 fails to build with clang8:
                    tree-vect-loop.c:4979:12: error: expected
                    unqualified-id
           Product: Ports & Packages
           Version: Latest
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
          Assignee: [email protected]
             Flags: maintainer-feedback?([email protected])
                CC: [email protected]

With a not yet official PPC64 ELFv2 system, where clang8 is the system
compiler, lang/gcc8 fails to build with the following errors (listed only the
first 3):

/usr/ports/lang/gcc8/work/gcc-8.3.0/gcc/tree-vect-loop.c:4979:12: error:
expected unqualified-id
      tree vec_step = build_vector_from_val (cr_index_vector_type, step);
           ^
/usr/ports/lang/gcc8/work/gcc-8.3.0/gcc/tree-vect-loop.c:4985:39: error:
expected expression
      create_iv (series_vect, vec_step, NULL_TREE, loop, &incr_gsi,
                                      ^
/usr/ports/lang/gcc8/work/gcc-8.3.0/gcc/tree-vect-loop.c:7653:27: error:
expected unqualified-id
  tree new_vec, vec_init, vec_step, t;


The problem seems to be related with conflicting definitions of vec_step,
between gcc and clang.

This seems to be related with the issues reported here:
https://lists.freebsd.org/pipermail/freebsd-ports/2017-December/111461.html

-- 
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.