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

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 3 05:30:00 GMT 2018


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
GCC is correct, this is similar in the way you put a inline function in a
section.
Clang is wrong in accepting it.


More information about the Gcc-bugs mailing list