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 c++/53954] [C++11] Undefined reference to non-odr-used static const member variable of variadic class template in DSO with -flto and -Wl,--export-dynamic


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53954

Ai Azuma <ai.azuma at gmail dot com> changed:

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

--- Comment #5 from Ai Azuma <ai.azuma at gmail dot com> 2012-07-19 03:12:21 UTC ---
Hmm, now I have arrived at the conclusion that non-odr-used variables might
require the definition, depending on compiler options etc., and this PR is
invalid, since there is no guarantee in the specification that
non-odr-used-ness of variables makes the definition unnecessary.

I'm sorry. I created this PR based on the wrong assumption. I should have
created a PR reporting the bug in libstdc++. And thank you for the quick fixes.

Again, thank you for your time.


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