This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/71286] 6.1.0: compiling djgpp programs with LTO emits "visibility attribute not supported in this configuration" warnings


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]