This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14270] New: 3.4 Regression, ice in write_template_arg_literal
- From: "s_gccbugzilla at nedprod dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Feb 2004 05:29:56 -0000
- Subject: [Bug c++/14270] New: 3.4 Regression, ice in write_template_arg_literal
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
As requested by Andrew Pinski - may be duplicate of bug #14246. Is GCC v3.4 CVS
20040218 and preprocessor output shall be attached:
g++ -fPIC -Wformat -Wno-reorder -Wno-non-virtual-dtor -march=i486
-mcpu=athlon-xp -fexceptions -fkeep-inline-functions -g -DFOXDLL -DUSE_POSIX
-DHAVE_CONSTTEMPORARIES -D_DEBUG -DHAVE_XSHM_H -DHAVE_XCURSOR_H=1 -DHAVE_XFT_H=1
-DXTHREADS=1 -DFOX_THREAD_SAFE=1 -DHAVE_LIBDL=1 -DHAVE_CUPS_H=1 -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_WAIT_H=1
-DHAVE_DIRENT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1
-DBUILDING_TCOMMON -DFOXDLL_EXPORTS -DHAVE_JPEG_H -DHAVE_PNG_H -DHAVE_TIFF_H
-DHAVE_ZLIB_H -DHAVE_OPENSSL -DHAVE_GL_H -DSUN_OGL_NO_VERTEX_MACROS
-DHPOGL_SUPPRESS_FAST_API -DHAVE_GLU_H -ITnFOX/include -I/usr/kerberos/include
-I/usr/X11R6/include -I/usr/include/freetype2 -Iinclude -c -o
objs/Debug/TTaggedDataBox.os src/TTaggedDataBox.cxx
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from src/TTaggedDataBox.cxx:27:
TnFOX/include/FXGenericTools.h: In instantiation of `FX::Generic::TraitsHelper::
isPolymorphicI<1u, FX::FXObject>':
TnFOX/include/FXGenericTools.h:1136: instantiated from `FX::Generic::
Traits<FX::FXObject*>'
TnFOX/include/FXGenericTools.h:1156: instantiated from `FX::Generic::
FunctorHelper::ImplBaseBase<FX::Generic::TL::item<long int, FX::Generic::TL::
item<FX::FXObject*, FX::Generic::TL::item<FX::FXSelector, FX::Generic::TL::
item<void*, FX::Generic::NullType> > > > >'
TnFOX/include/FXGenericTools.h:1172: instantiated from `FX::Generic::
FunctorHelper::ImplBaseOp<FX::Generic::TL::item<long int, FX::Generic::TL::
item<FX::FXObject*, FX::Generic::TL::item<FX::FXSelector, FX::Generic::TL::
item<void*, FX::Generic::NullType> > > >, 3>'
TnFOX/include/FXGenericTools.h:1241: instantiated from `FX::Generic::
Functor<FX::Generic::TL::item<long int, FX::Generic::TL::item<FX::FXObject*, FX:
:Generic::TL::item<FX::FXSelector, FX::Generic::TL::item<void*, FX::Generic::
NullType> > > > >'
TnFOX/include/FXFunctorTarget.h:64: instantiated from here
TnFOX/include/FXGenericTools.h:1080: internal compiler error: in
write_template_arg_literal, at cp/mangle.c:2125
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
scons: *** [objs/Debug/TTaggedDataBox.os] Error 1
The idiom which causes the ICE is a very common one, indeed identical to that
used in the Boost libraray type_traits isPolymorphic.
Cheers,
Niall
--
Summary: 3.4 Regression, ice in write_template_arg_literal
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: s_gccbugzilla at nedprod dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14270