public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/34774]  New: templates, enumerations, overflow, ice
@ 2008-01-13 19:14 tbptbp at gmail dot com
  2008-01-13 19:18 ` [Bug c++/34774] " tbptbp at gmail dot com
                   ` (22 more replies)
  0 siblings, 23 replies; 24+ messages in thread
From: tbptbp at gmail dot com @ 2008-01-13 19:14 UTC (permalink / raw)
  To: gcc-bugs

While trying to pinpoint an *intermitent* warning/error with g++ 4.3
"mf/unit.h:84: error: no integral type can represent all of the enumerator
values for `metafloat::core::helpers::details::aligner<7u,
metafloat::core::float_t<0l, 0l, 0ul,  CAT_NRM> >::<anonymous enum>'" i finally
got it to ice with the attached version. Even better, the venerable g++ 3.4 as
shipped by Cygwin also craps out.


$ g++ tf.ii -o tf
In file included from metafloat.h:13,
                 from tf.cc:14:
mf/significand.h:37: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://cygwin.com/problems.html> for instructions.
$ /usr/local/gcc-4.3-20080104/bin/g++ tf.ii -o tf
In file included from metafloat.h:14,
                 from tf.cc:15:
mf/significand.h:35: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
$ g++ -v
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /usr/build/package/orig/test.respin/gcc-3.4.4-3/configure
--verbose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib
--libe
xecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
--enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls
--without-included-gettext --
enable-version-specific-runtime-libs --without-x --enable-libgcj
--disable-java-awt --with-system-zlib --enable-interpreter
--disable-libgcj-debug --enable-thre
ads=posix --enable-java-gc=boehm --disable-win32-registry
--enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
$ /usr/local/gcc-4.3-20080104/bin/g++ -v
Using built-in specs.
Target: i686-pc-cygwin
Configured with: ../configure --prefix=/usr/local/gcc-4.3-20080104
--enable-languages=c,c++ --enable-threads=posix --disable-checking
--disable-libmudflap --dis
able-nls --disable-shared --disable-win32-registry --disable-multilib
--enable-sjlj-exceptions --with-system-zlib --with-gnu-ld --with-gnu-as
--verbose --enable
-checking=none --disable-bootstrap
Thread model: posix
gcc version 4.3.0 20080104 (experimental) (GCC)


-- 
           Summary: templates, enumerations, overflow, ice
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbptbp at gmail dot com


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


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

end of thread, other threads:[~2008-02-20  4:49 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-13 19:14 [Bug c++/34774] New: templates, enumerations, overflow, ice tbptbp at gmail dot com
2008-01-13 19:18 ` [Bug c++/34774] " tbptbp at gmail dot com
2008-01-13 19:30 ` [Bug c++/34774] [4.1/4.2/4.3 Regression] " rguenth at gcc dot gnu dot org
2008-01-13 19:31 ` rguenth at gcc dot gnu dot org
2008-01-13 19:47 ` rguenth at gcc dot gnu dot org
2008-01-13 21:20 ` tbptbp at gmail dot com
2008-01-13 21:29 ` rguenther at suse dot de
2008-01-13 21:49 ` tbptbp at gmail dot com
2008-01-14  1:46 ` manu at gcc dot gnu dot org
2008-01-14 13:00 ` rguenth at gcc dot gnu dot org
2008-01-14 13:02 ` rguenth at gcc dot gnu dot org
2008-01-14 13:29 ` rguenth at gcc dot gnu dot org
2008-01-14 13:31 ` tbptbp at gmail dot com
2008-01-14 15:19 ` pcarlini at suse dot de
2008-01-15 20:58 ` tbptbp at gmail dot com
2008-01-16  9:52 ` rguenther at suse dot de
2008-01-16 13:29 ` tbptbp at gmail dot com
2008-02-13  6:09 ` jason at gcc dot gnu dot org
2008-02-13  7:09 ` jason at gcc dot gnu dot org
2008-02-13 17:22 ` [Bug c++/34774] [4.1/4.2 " tbptbp at gmail dot com
2008-02-13 18:45 ` jason at gcc dot gnu dot org
2008-02-13 19:30 ` jason at gcc dot gnu dot org
2008-02-14  7:53 ` tbptbp at gmail dot com
2008-02-20  4:49 ` jason 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).