public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/51868] New: Crash when generating the move constructor for a class with a bit field
@ 2012-01-16 14:29 ogoffart at kde dot org
  2012-01-16 14:58 ` [Bug c++/51868] [4.7 Regression] " redi at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: ogoffart at kde dot org @ 2012-01-16 14:29 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51868
           Summary: Crash when generating the move constructor for a class
                    with a bit field
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ogoffart@kde.org


Created attachment 26341
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26341
testcase

See the attached example.
Compilation flag used: -std=c++0x

gcc crashes with:

bitfield.cc: In constructor ‘B::B(B&&)’:
bitfield.cc:7:8: 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.

Reproduced with GCC 4.6.2 from archlinux binary package, and gcc 4.7 from
trunk.
Used to work with GCC 4.6.1


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

end of thread, other threads:[~2012-01-16 21:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-16 14:29 [Bug c++/51868] New: Crash when generating the move constructor for a class with a bit field ogoffart at kde dot org
2012-01-16 14:58 ` [Bug c++/51868] [4.7 Regression] " redi at gcc dot gnu.org
2012-01-16 15:21 ` redi at gcc dot gnu.org
2012-01-16 18:12 ` jason at gcc dot gnu.org
2012-01-16 18:55 ` jason at gcc dot gnu.org
2012-01-16 18:56 ` jason at gcc dot gnu.org
2012-01-16 19:09 ` redi at gcc dot gnu.org
2012-01-16 21:33 ` [Bug c++/51868] [4.6 " jason at gcc dot gnu.org
2012-01-16 21:37 ` jason at gcc dot gnu.org
2012-01-16 21:54 ` jason 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).