This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/71286] 6.1.0: compiling djgpp programs with LTO emits "visibility attribute not supported in this configuration" warnings
- From: "felix.von.s at posteo dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 28 May 2016 06:03:29 +0000
- Subject: [Bug target/71286] 6.1.0: compiling djgpp programs with LTO emits "visibility attribute not supported in this configuration" warnings
- Auto-submitted: auto-generated
- References: <bug-71286-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71286
--- Comment #2 from felix <felix.von.s at posteo dot de> ---
mingw seems to do fine without it: on that target
TARGET_ASM_ASSEMBLE_VISIBILITY (i.e. i386_pe_assemble_visibility) never emits
any assembly code, and it only emits a warning if the visibility attribute was
specified explicitly.
The function was added in SVN revision 168763 (commit de0e5a52 in the git
mirror). I believe support for LTO on mingw was first added in revision 158762
(4d992eb6 in git). LTO support was half-enabled for DJGPP in SVN revision
232290 (7aa50266 in git).