[Bug c++/51868] New: Crash when generating the move constructor for a class with a bit field
ogoffart at kde dot org
gcc-bugzilla@gcc.gnu.org
Mon Jan 16 14:29:00 GMT 2012
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
More information about the Gcc-bugs
mailing list