C++ ICE with -fno-implicit-templates

Chip Salzenberg chipATperlsupport.com
Fri Sep 17 17:20:00 GMT 1999

The attached source file triggers an ICE in the CVS cc1plus when
compiled with -fno-implicit-templates, but doesn't otherwise.

Please be sure to use -fhonor-std when compiling.

Here's the message:

se.i: In method `size_t std::basic_string<char,std::char_traits<char>,std::allocator<char> >::max_size() const':
se.i:12130:   instantiated from `std::operator >><char, std::char_traits<char>, std::allocator<char> >(std::basic_istream<char,std::char_traits<char> > &, std::basic_string<char,std::char_traits<char>,std::allocator<char> > &)'
se.i:12837:   instantiated from here
se.i:2708: Internal compiler error in `emit_move_insn_1', at expr.c:2704
Chip Salzenberg      - a.k.a. -      <chip@perlsupport.com>
      "When do you work?"   "Whenever I'm not busy."

More information about the Gcc-bugs mailing list