[Bug c++/87178] Compilation failure when program contains multiple variables allocated in particular section, and at least one variable is C++17 "inline"

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 3 09:13:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87178

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Generally certainly can't, one can define the inline variable in one TU and the
non-inline for the same section in a different TU.
If both are in the same TU, we could, but we don't have any mapping between the
user defined sections and decls that are put into those.


More information about the Gcc-bugs mailing list