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: unassig...@gcc.gnu.org
        ReportedBy: ogoff...@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

Reply via email to