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]

Internal compiler error in arg_assoc_type (gcc-ss-20000813)


~/c++/libcw/src/libcwd>g++-cvs -v demangle2.ii
Reading specs from /usr/local/gcc/lib/gcc-lib/i686-pc-linux/2.96/specs
gcc version 2.96 20000813 (experimental)
 /usr/local/gcc/lib/gcc-lib/i686-pc-linux/2.96/cc1plus -fpreprocessed demangle2.ii -quiet -dumpbase demangle2.ii -version -o /tmp/ccwxVxrs.s
GNU C++ version 2.96 20000813 (experimental) (i686-pc-linux) compiled by GNU C version 2.96 20000813 (experimental).
In file included from demangle2.cc:125:
include/libcw/demangle.h:19: conflicting types for `struct string'
/usr/local/gcc/include/g++-3/string:9: previous declaration as `typedef 
class basic_string<char, string_char_traits<char>, 
__default_alloc_template<true, 0> > string'
demangle2.cc:159: `demangle_symbol (char const*, string&)' was declared 
`extern' and later `static'
include/libcw/demangle.h:22: previous declaration of `demangle_symbol 
(char const*, string&)'
demangle2.cc: In function `void demangle_symbol (char const*, 
string&)':
demangle2.cc:172: no match for `string& += char const[7]'
demangle2.cc:195: aggregate `string prefix' has incomplete type and 
cannot be initialized
demangle2.cc:196: aggregate `string postfix' has incomplete type and 
cannot be initialized
demangle2.cc:202: Internal error #390.
demangle2.cc:202: Internal compiler error in arg_assoc_type, at 
../gcc-cvs/gcc/cp/decl2.c:4983
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.


I attached the demangle2.ii.bz2 file.
Please note that this code will be released under QPL, not GPL.

The following header applies:

// demangle2.cc: Demangle symbols and types generated by GNU g++.
//
// Copyright (C) 2000, by
//
// Carlo Wood, Run on IRC <carlo@alinoe.com>
// RSA-1024 0x624ACAD5 1997-01-26                    Sign & Encrypt
// Fingerprint16 = 32 EC A7 B6 AC DB 65 A6  F6 F6 55 DD 1C DC FF 61
//
// This file may be distributed under the terms of the Q Public License
// version 1.0 as appearing in the file LICENSE.QPL included in the
// packaging of this file.
//

-- 
Carlo Wood <carlo@alinoe.com>                        -=- Jesus Loves you -=-

demangle2.ii.bz2


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