public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/50618] New: Virtual inheritance segfault
@ 2011-10-04 20:11 tomboshoven at gmail dot com
  2011-10-04 20:46 ` [Bug c++/50618] [4.4/4.5/4.6/4.7 Regression] " pinskia at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: tomboshoven at gmail dot com @ 2011-10-04 20:11 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50618
           Summary: Virtual inheritance segfault
    Classification: Unclassified
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: tomboshoven@gmail.com


Created attachment 25417
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25417
A small program using multiple inheritance, segfaults when run.

Affected GCC Versions:
4.6.1 20110819 (prerelease)   (Arch Linux package)
4.5.3    (Compiled using Arch defaults, --march=core2)
Both x64.

GCC 4.2 does not seem to be affected.


The attached source code, when compiled without any additional flags, segfaults
when executed.
The segfault occurs within the ostream.

I tried to further minimize the code, but all components of this code seem to
be required.


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

end of thread, other threads:[~2011-11-29  5:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-04 20:11 [Bug c++/50618] New: Virtual inheritance segfault tomboshoven at gmail dot com
2011-10-04 20:46 ` [Bug c++/50618] [4.4/4.5/4.6/4.7 Regression] " pinskia at gcc dot gnu.org
2011-10-10 15:26 ` rguenth at gcc dot gnu.org
2011-10-11 19:42 ` jason at gcc dot gnu.org
2011-10-13 18:02 ` jason at gcc dot gnu.org
2011-10-13 18:02 ` jason at gcc dot gnu.org
2011-10-13 18:04 ` jason at gcc dot gnu.org
2011-10-13 18:09 ` jason at gcc dot gnu.org
2011-10-13 18:09 ` jason at gcc dot gnu.org
2011-11-29  7:01 ` pinskia at gcc dot gnu.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).