Created attachment 586250 [details] preprocessed source Description of problem: while compiling a simple code using -std=c++0x, I find a bug . Version-Release number of selected component (if applicable): 4.6.3 How reproducible: /home/ronaflx/src use command g++ -oHeavyBooks HeavyBook.cpp -std=c++0x Actual results: HeavyBooks.cpp: In function ‘int main()’: HeavyBooks.cpp:73:13: in constexpr expansion of ‘___test.HeavyBooks::HeavyBooks()’ HeavyBooks.cpp:73:13: internal compiler error: in build_special_member_call, at cp/call.c:6616 Please submit a full bug report, with preprocessed source if appropriate. See <http://bugzilla.redhat.com/bugzilla> for instructions. Preprocessed source stored into /tmp/ccFtq8oN.out file, please attach this to your bugreport. Expected results: compile successfully Additional info:
Fixed in gcc 4.7, not trivially backportable.