[Bug c++/91658] New: g++: internal compiler error: Killed (program cc1plus)

2019-09-04 Thread ivan.chow2 at aecom dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ivan.chow2 at aecom dot com Target Milestone: --- Created attachment 46818 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46818&action=edit file which cause the compiler to fail with internal err

[Bug c++/91658] g++: internal compiler error: Killed (program cc1plus)

2019-09-04 Thread ivan.chow2 at aecom dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91658 --- Comment #2 from Ivan Chow --- Thanks for the info. I ran this on Ubuntu 18.04 with 16GB RAM configured on a VMware VM and the maximum memory allowed is 16GB for this VM What should I do? Thanks for any advices. -Original Messag

[Bug c++/91658] g++: internal compiler error: Killed (program cc1plus)

2019-09-04 Thread ivan.chow2 at aecom dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91658 --- Comment #3 from Ivan Chow --- Sorry. Actually, I can increase the VM memory. Only the "recommended" maximum memory is 16GB. Let me increase the VM memory to 24 GB and see what happen. But it does have a maximum memory, which is 64GB. Th

[Bug c++/91658] g++: internal compiler error: Killed (program cc1plus)

2019-09-04 Thread ivan.chow2 at aecom dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91658 --- Comment #4 from Ivan Chow --- 24GB still crashed the compiler I think the preprocessor cc1plus has a bug in handling some of the templates of that file... it shouldn't need that much memory I ran command 'top' and can see the mem

[Bug c++/91658] g++: internal compiler error: Killed (program cc1plus)

2019-09-05 Thread ivan.chow2 at aecom dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91658 --- Comment #6 from Ivan Chow --- Thanks for helping out. Please see attached file. -Original Message- From: rguenth at gcc dot gnu.org [mailto:gcc-bugzi...@gcc.gnu.org] Sent: Thursday, September 5, 2019 5:27 AM To: Chow, Ivan (Aiken)

[Bug c++/91658] g++: internal compiler error: Killed (program cc1plus)

2019-09-05 Thread ivan.chow2 at aecom dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91658 --- Comment #7 from Ivan Chow --- Sorry. I didn't know the limit of the size of the file in the email. Please see attached file with gzip compressed. Thanks for helping out. -Original Message- From: gcc-bugzi...@gcc.gnu.org [mailto

[Bug c++/91658] g++: internal compiler error: Killed (program cc1plus)

2019-09-05 Thread ivan.chow2 at aecom dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91658 --- Comment #8 from Ivan Chow --- I compiled a 'different' indexing_op.cc and and it is ok. cpp1plus does not crash. Please see attachment. Indexing_op.ccpp2 I did a "diff" with the other after cc1plus processed file. The differences are at