public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14270] New: 3.4 Regression, ice in write_template_arg_literal
@ 2004-02-24  5:29 s_gccbugzilla at nedprod dot com
  2004-02-24  5:31 ` [Bug c++/14270] " s_gccbugzilla at nedprod dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: s_gccbugzilla at nedprod dot com @ 2004-02-24  5:29 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/14270] 3.4 Regression, ice in write_template_arg_literal
  2004-02-24  5:29 [Bug c++/14270] New: 3.4 Regression, ice in write_template_arg_literal s_gccbugzilla at nedprod dot com
@ 2004-02-24  5:31 ` s_gccbugzilla at nedprod dot com
  2004-02-24  5:33 ` s_gccbugzilla at nedprod dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: s_gccbugzilla at nedprod dot com @ 2004-02-24  5:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From s_gccbugzilla at nedprod dot com  2004-02-24 05:31 -------
Created an attachment (id=5791)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5791&action=view)
Preprocessor output causing the ICE


-- 


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/14270] 3.4 Regression, ice in write_template_arg_literal
  2004-02-24  5:29 [Bug c++/14270] New: 3.4 Regression, ice in write_template_arg_literal s_gccbugzilla at nedprod dot com
  2004-02-24  5:31 ` [Bug c++/14270] " s_gccbugzilla at nedprod dot com
@ 2004-02-24  5:33 ` s_gccbugzilla at nedprod dot com
  2004-02-24  5:35 ` [Bug c++/14270] [3.4/3.5 Regression], " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: s_gccbugzilla at nedprod dot com @ 2004-02-24  5:33 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/14270] [3.4/3.5 Regression], ice in write_template_arg_literal
  2004-02-24  5:29 [Bug c++/14270] New: 3.4 Regression, ice in write_template_arg_literal s_gccbugzilla at nedprod dot com
  2004-02-24  5:31 ` [Bug c++/14270] " s_gccbugzilla at nedprod dot com
  2004-02-24  5:33 ` s_gccbugzilla at nedprod dot com
@ 2004-02-24  5:35 ` pinskia at gcc dot gnu dot org
  2004-02-24 15:22 ` [Bug c++/14270] [3.4/3.5 Regression] ICE " reichelt at gcc dot gnu dot org
  2004-02-24 15:29 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-24  5:35 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
            Summary|3.4 Regression, ice in      |[3.4/3.5 Regression], ice in
                   |write_template_arg_literal  |write_template_arg_literal
   Target Milestone|---                         |3.4.0


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/14270] [3.4/3.5 Regression] ICE in write_template_arg_literal
  2004-02-24  5:29 [Bug c++/14270] New: 3.4 Regression, ice in write_template_arg_literal s_gccbugzilla at nedprod dot com
                   ` (2 preceding siblings ...)
  2004-02-24  5:35 ` [Bug c++/14270] [3.4/3.5 Regression], " pinskia at gcc dot gnu dot org
@ 2004-02-24 15:22 ` reichelt at gcc dot gnu dot org
  2004-02-24 15:29 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-02-24 15:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-02-24 15:22 -------
Here's a redux that crashes with "-g":

===================================================
template<bool> struct A {};
A<!false> a;
===================================================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
      Known to fail|                            |3.4.0 3.5.0
      Known to work|                            |3.3.3
           Priority|P3                          |P2
   Last reconfirmed|0000-00-00 00:00:00         |2004-02-24 15:22:21
               date|                            |
            Summary|[3.4/3.5 Regression], ice in|[3.4/3.5 Regression] ICE in
                   |write_template_arg_literal  |write_template_arg_literal


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/14270] [3.4/3.5 Regression] ICE in write_template_arg_literal
  2004-02-24  5:29 [Bug c++/14270] New: 3.4 Regression, ice in write_template_arg_literal s_gccbugzilla at nedprod dot com
                   ` (3 preceding siblings ...)
  2004-02-24 15:22 ` [Bug c++/14270] [3.4/3.5 Regression] ICE " reichelt at gcc dot gnu dot org
@ 2004-02-24 15:29 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-24 15:29 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-02-24 15:29 -------
Well in this case I was wrong to ask but who knows the next time.  Well it turns out this is a dup of bug 
14246.

*** This bug has been marked as a duplicate of 14246 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-02-24 15:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-24  5:29 [Bug c++/14270] New: 3.4 Regression, ice in write_template_arg_literal s_gccbugzilla at nedprod dot com
2004-02-24  5:31 ` [Bug c++/14270] " s_gccbugzilla at nedprod dot com
2004-02-24  5:33 ` s_gccbugzilla at nedprod dot com
2004-02-24  5:35 ` [Bug c++/14270] [3.4/3.5 Regression], " pinskia at gcc dot gnu dot org
2004-02-24 15:22 ` [Bug c++/14270] [3.4/3.5 Regression] ICE " reichelt at gcc dot gnu dot org
2004-02-24 15:29 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).