[Bug debug/68010] ICE with -g and using namespace and namespace alias
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 13 21:46:57 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68010
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|internal compiler error: in |ICE with -g and using
|tree_to_shwi, at |namespace and namespace
|tree.h:3661 |alias
Target| |x86_64-linux-gnu
Last reconfirmed|2015-10-18 00:00:00 |2021-8-13
--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced slightly more:
namespace boost {}
template <typename> struct C { };
template <typename Skipper>
struct StructDecoder : C<Skipper>
{
StructDecoder() {
namespace bs = boost;
using namespace bs;
}
};
void NFGParserparse() {
StructDecoder<int> q_syslog_desc;
}
Still ICEs on the trunk
More information about the Gcc-bugs
mailing list