[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

Mark Millard <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Mark Millard <[email protected]> ---
(In reply to Gerald Pfeifer from comment #1)

I use patches for the type of issue for:

?       /usr/ports/devel/powerpc64-gcc/files/patch-gcc_tree-vect-loop.c
?       /usr/ports/lang/gcc8/files/patch-gcc_tree-vect-loop.c
?       /usr/ports/lang/gcc9/files/patch-gcc_tree-vect-loop.c

(I've not done anything with gcc10. I used to have such for gcc7
but quit using gcc7.)

My changes long predate recent ELFv2 activity, powerpc64-gcc's
patch file going back to 2017-Sep-30.

What I did was rename vec_step to vec_step_renamed in order
to avoid hitting clang's powerpc family specific definition
of the name (tied to altivec).

As I remember the source code in the area has changed over
the time frame and the 3 patches are not all identical.

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