public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13774] New: Member variable cleared in virtual multiple inheritance class
@ 2004-01-20 18:04 stuart at personalrobots dot com
2004-01-20 18:05 ` [Bug c++/13774] " stuart at personalrobots dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: stuart at personalrobots dot com @ 2004-01-20 18:04 UTC (permalink / raw)
To: gcc-bugs
We have a code example with a complex virtual inheritance hierarchy - it has
worked with previous gcc, 3.0 and above, but after installing Fedora the code
crashes. It appears that a pointer gets cleared for no apparent reason and this
causes the crash. We have managed to reproduce the crash with the short file
that I will attach.
Gcc version:
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
Compile line is:
mini: mini.cc
g++ -o mini mini.cc -lstdc++
System is Fedora core 1:
Linux aethon.com 2.4.22-1.2115.nptl #1 Wed Oct 29 15:42:51 EST 2003 i686 i686
i386 GNU/Linux
--
Summary: Member variable cleared in virtual multiple inheritance
class
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: stuart at personalrobots dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13774
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/13774] Member variable cleared in virtual multiple inheritance class
2004-01-20 18:04 [Bug c++/13774] New: Member variable cleared in virtual multiple inheritance class stuart at personalrobots dot com
@ 2004-01-20 18:05 ` stuart at personalrobots dot com
2004-01-20 18:52 ` bangerth at dealii dot org
2004-01-20 19:01 ` dhazeghi at yahoo dot com
2 siblings, 0 replies; 4+ messages in thread
From: stuart at personalrobots dot com @ 2004-01-20 18:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From stuart at personalrobots dot com 2004-01-20 18:05 -------
Created an attachment (id=5537)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5537&action=view)
Source file to recreate the bug
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13774
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/13774] Member variable cleared in virtual multiple inheritance class
2004-01-20 18:04 [Bug c++/13774] New: Member variable cleared in virtual multiple inheritance class stuart at personalrobots dot com
2004-01-20 18:05 ` [Bug c++/13774] " stuart at personalrobots dot com
@ 2004-01-20 18:52 ` bangerth at dealii dot org
2004-01-20 19:01 ` dhazeghi at yahoo dot com
2 siblings, 0 replies; 4+ messages in thread
From: bangerth at dealii dot org @ 2004-01-20 18:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2004-01-20 18:52 -------
This works for me with 3.2.3, 3.3.3-pre, and 3.4 of last week. Maybe
someone with a debian box can verify.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13774
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/13774] Member variable cleared in virtual multiple inheritance class
2004-01-20 18:04 [Bug c++/13774] New: Member variable cleared in virtual multiple inheritance class stuart at personalrobots dot com
2004-01-20 18:05 ` [Bug c++/13774] " stuart at personalrobots dot com
2004-01-20 18:52 ` bangerth at dealii dot org
@ 2004-01-20 19:01 ` dhazeghi at yahoo dot com
2 siblings, 0 replies; 4+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-01-20 19:01 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dhazeghi at yahoo dot com 2004-01-20 19:01 -------
Confirmed bug with stock 3.3.2 build. Must've been fixed since on branch and mainline.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.3.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13774
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-01-20 19:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-20 18:04 [Bug c++/13774] New: Member variable cleared in virtual multiple inheritance class stuart at personalrobots dot com
2004-01-20 18:05 ` [Bug c++/13774] " stuart at personalrobots dot com
2004-01-20 18:52 ` bangerth at dealii dot org
2004-01-20 19:01 ` dhazeghi at yahoo dot com
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).