[Bug c++/13030] New: c++ internal compiler error in cxx_incomplete_type_diagnostic

ron_hylton at hotmail dot com gcc-bugzilla@gcc.gnu.org
Wed Nov 12 23:45:00 GMT 2003


C++ code which compiles under both MSVC 7.1 and Comeau 4.3.3 gives an internal 
compiler error in cxx_incomplete_type_diagnostic using Cygwin on W2K.  Failing 
command:

c++ -v -save-temps -c -o DateUtil.o ..//CppLib/DateUtil.cpp   -IC:\rah\Vc\CppLib
  -IC:\packages\icu_2.6.1\include  -IC:\packages\xerces-c-src_2_3_0\include  -IC
:\packages\Loki -w
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/specs
Configured with: /GCC/gcc-3.3.1-3/configure --with-gcc --with-gnu-ld --with-gnu-
as --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexe
cdir=/usr/sbin --mandir=/usr/share/man --infodir=/usr/share/info --enable-langua
ges=c,ada,c++,f77,pascal,java,objc --enable-libgcj --enable-threads=posix --with
-system-zlib --enable-nls --without-included-gettext --enable-interpreter --enab
le-sjlj-exceptions --disable-version-specific-runtime-libs --enable-shared --dis
able-win32-registry --enable-java-gc=boehm --disable-hash-synchronization --verb
ose --target=i686-pc-cygwin --host=i686-pc-cygwin --build=i686-pc-cygwin
Thread model: posix
gcc version 3.3.1 (cygming special)
 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/cc1plus.exe -E -D__GNUG__=3 -quiet -v -IC
:\rah\Vc\CppLib -IC:\packages\icu_2.6.1\include -IC:\packages\xerces-c-src_2_3_0
\include -IC:\packages\Loki -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL_
_=1 -D__CYGWIN32__ -D__CYGWIN__ -Dunix -D__unix__ -D__unix -idirafter /usr/lib/g
cc-lib/i686-pc-cygwin/3.3.1/../../../../include/w32api -idirafter /usr/lib/gcc-l
ib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/lib/../../include/w32api ..//
CppLib/DateUtil.cpp -w DateUtil.ii
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/usr/i686-pc-cygwin/include"
ignoring duplicate directory "/usr/i686-pc-cygwin/lib/../../include/w32api"
#include "..." search starts here:
#include <...> search starts here:
 C:/rah/Vc/CppLib
 C:/packages/icu_2.6.1/include
 C:/packages/xerces-c-src_2_3_0/include
 C:/packages/Loki
 /usr/include/c++/3.3.1
 /usr/include/c++/3.3.1/i686-pc-cygwin
 /usr/include/c++/3.3.1/backward
 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include
 /usr/include
 /usr/include/w32api
End of search list.
 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/cc1plus.exe -fpreprocessed DateUtil.ii -q
uiet -dumpbase DateUtil.cpp -auxbase-strip DateUtil.o -w -version -o DateUtil.s
GNU C++ version 3.3.1 (cygming special) (i686-pc-cygwin)
        compiled by GNU C version 3.3.1 (cygming special).
GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=65410
In file included from ../CppLib/DateUtil.cpp:3:
../CppLib/DateTemplates.h: In constructor `
   DateTemplates::DateInterval<Date>::DateInterval(const
   std::basic_string<char, std::char_traits<char>, std::allocator<char> >&,
   const DateTemplates::BusDayConvention<Date>*) [with Date = DateUtil::Date]':
../CppLib/DateTemplates.h:971:   instantiated from `static Date DateTemplates::D
ateInterval<Date>::sum(const Date&, const std::basic_string<char, std::char_trai
ts<char>, std::allocator<char> >&) [with Date = DateUtil::Date]'
../CppLib/DateUtil.h:35:   instantiated from here
../CppLib/DateTemplates.h:957: internal compiler error: in
   cxx_incomplete_type_diagnostic, at cp/typeck2.c:282
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: c++ internal compiler error in
                    cxx_incomplete_type_diagnostic
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ron_hylton at hotmail dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13030



More information about the Gcc-bugs mailing list