[Bug target/64212] [4.9/5 Regression] ICE [in noninterposable_alias, at symtab.c:1706]

ktietz at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 30 15:58:00 GMT 2015


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

--- Comment #4 from Kai Tietz <ktietz at gcc dot gnu.org> ---
A side-note:  Of course the dllimport attribute is part of the prototype.  So
for C case it would be consistent to have the dllimport-attribute also
specified for the inline, which gets rejected.  This reject might be doubtful
as an inline-function isn't necessarily inlined, and so the function gets
called.
A second side-note:  This issue is only happening for C compiler.  For C++
semantics of inline is different, and sample-code works as expected.



More information about the Gcc-bugs mailing list