[LLVMbugs] [Bug 287] NEW: llvm-g++ ICE on basic_string.h:269

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Mar 12 07:13:30 PST 2004


           Summary: llvm-g++ ICE on basic_string.h:269
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: llvm-g++
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rspencer at x10sys.com

With the 03-10-04 version fo the llvm-g++ compiler, one of my XPS files does not
compile without the compiler seg faulting.  The problem seems occur on a
specific line of basic_string.h in the C++ std lib.  The output from the
compiler is shown below. The pre-processed sources and a build script allow the
problem to be reproduced. Note that compiling without the specific options in
the build script will probably work.

Compiler Output:
In member function `std::basic_string<_CharT, _Traits, _Alloc>::_Rep*
std::basic_string<_CharT, _Traits, _Alloc>::_M_rep() const [with _CharT =
xmlChar, _Traits = std::char_traits<xmlChar>, _Alloc = std::allocator<xmlChar>]':
  instantiated from `typename _Alloc::size_type std::basic_string<_CharT,
_Traits, _Alloc>::length() const [with _CharT = xmlChar, _Traits =
std::char_traits<xmlChar>, _Alloc = std::allocator<xmlChar>]'
../../../xps/xps/adt/Text.C:97:   instantiated from here
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.cs.uiuc.edu> for instructions.

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list