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 debug/68010] internal compiler error: in tree_to_shwi, at tree.h:3661


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.

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