[Bug c++/46658] New: internal compiler error on cp/init.c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46658 Summary: internal compiler error on cp/init.c Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: zarava...@gmail.com Created attachment 22527 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22527 stderr output from g++ The compilation ends with the following message: analyzer.cpp: In member function 'bool nsAnalysis::Analyzer::ReadDictionary(READER&)': analyzer.cpp:543:77: internal compiler error: in build_value_init, at cp/init.c:299 You will find attached the data you request
[Bug c++/46658] internal compiler error on cp/init.c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46658 --- Comment #1 from Zara 2010-11-25 11:51:51 UTC --- Created attachment 22528 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22528 preprocessed output from g++ The file has been compressed with tar/gz
[Bug c++/46658] internal compiler error on cp/init.c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46658 --- Comment #2 from Zara 2010-11-25 11:53:29 UTC --- gcc has been downloaded form git mirror.
[Bug c++/46658] internal compiler error on cp/init.c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46658 Zara changed: What|Removed |Added Attachment #22528|0 |1 is obsolete|| --- Comment #5 from Zara 2010-11-25 14:40:40 UTC --- Created attachment 22529 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22529 Soruce code stripped to the ber minimum (192 bytes) I'm sorry, I have attached the minimum source code, but I think you will find it useful: If you remove the template part, it will compile OK. The template part seems to be the root of the problem!
[Bug c++/46658] internal compiler error on cp/init.c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46658 Zara changed: What|Removed |Added Attachment #22527|0 |1 is obsolete|| --- Comment #6 from Zara 2010-11-25 14:42:27 UTC --- Created attachment 22530 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22530 gcc report data
[Bug c++/46658] internal compiler error on cp/init.c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46658 --- Comment #7 from Zara 2010-11-25 14:44:12 UTC --- Created attachment 22531 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22531 And this is the intemediate file!! 335 bytes I hope this minimum case will be just what you need to correct the bug. Have luck!
[Bug c++/46658] internal compiler error on cp/init.c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46658 --- Comment #8 from Zara 2010-11-25 14:44:59 UTC --- (In reply to comment #3) > It would be nice if you could reduce the testcase a bit by using Delta or > other > means: http://gcc.gnu.org/wiki/A_guide_to_testcase_reduction Manually reduced it, see the new attachments