[Bug libstdc++/89464] shared_ptr_base.h: error: '__tag' was not declared in this scope (gcc-8.3.0 regression?)
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Feb 23 06:32:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89464
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2019-02-23
Component|c++ |libstdc++
Ever confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
17b46dadecbf (redi 2018-11-22 15:02:46 +0000 510) alignas(type_info)
static constexpr char __tag[sizeof(type_info)] = { };
0d9884f7ccc3 (redi 2017-05-11 13:21:07 +0000 511) return
reinterpret_cast<const type_info&>(__tag);
Hmm, it is there for me.
Can you add -save-temps and provide the preprocessed source?
More information about the Gcc-bugs
mailing list