public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/23457] New: compiler crash on huge object size with virtual base
@ 2005-08-18  9:24 laurent dot deniau at cern dot ch
  2005-08-18 12:01 ` [Bug c++/23457] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
  2005-09-27 16:15 ` mmitchel at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: laurent dot deniau at cern dot ch @ 2005-08-18  9:24 UTC (permalink / raw)
  To: gcc-bugs

Aim: check for B's vbase offset overflow in the D's vtable on IA32.

struct B {
  B() {}
  virtual ~B() {}
  int b;
};
struct D : virtual B {
  char d1[1u << 30];
  char d2[1u << 30];
};

g++-4.0 -std=c++98 -pedantic -W -Wall -O3 bug.cpp -c
bug.cpp:7: internal compiler error: in tree_low_cst, at tree.c:3843
Please submit a full bug report,

g++-4.0 -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib --enable-nls
--without-included-gettext --enable-threads=posix --program-suffix=-4.0
--enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu
--enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr
--disable-werror --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.1 (Debian 4.0.1-2)

-- 
           Summary: compiler crash on huge object size with virtual base
           Product: gcc
           Version: 4.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: laurent dot deniau at cern dot ch
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-09-27 16:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-18  9:24 [Bug c++/23457] New: compiler crash on huge object size with virtual base laurent dot deniau at cern dot ch
2005-08-18 12:01 ` [Bug c++/23457] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-09-27 16:15 ` mmitchel 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).