This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/68010] internal compiler error: in tree_to_shwi, at tree.h:3661
- From: "ghoort1 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 Oct 2015 20:15:21 +0000
- Subject: [Bug debug/68010] internal compiler error: in tree_to_shwi, at tree.h:3661
- Auto-submitted: auto-generated
- References: <bug-68010-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68010
--- Comment #6 from Andrey Chistyakov <ghoort1 at gmail dot com> ---
I simplified the Marcus' code:
Ghoort@blade /cygdrive/c/Projects/bug
$ cat c2.cpp
namespace boost {}
template <typename>
struct C {
};
template <typename Skipper> class StructDecoder : C<Skipper> {
public:
StructDecoder() {
namespace bs = boost;
using namespace bs;
}
};
void NFGParserparse() {
StructDecoder<int> q_syslog_desc;
}
Ghoort@blade /cygdrive/c/Projects/bug
$ g++ -c -g c2.cpp
c2.cpp: In constructor ÂStructDecoder<Skipper>::StructDecoder() [with Skipper =
int]Â:
c2.cpp:12:3: internal compiler error: Ð tree_to_shwi, Ð tree.h:3661
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.