[Bug c++/70446] g++: internal compiler error: Killed (program cc1plus), probably related to vectors

ivanbili at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Mar 30 00:51:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70446

--- Comment #1 from ivanbili at gmail dot com ---
Also happens if I fix the errors. I.e. replace

     vector[i].ratio = (float)values[i]/weights[i];
     vector[i].weight = weights[i];

with:

     helper[i].ratio = (float)values[i]/weights[i];
     helper[i].weight = weights[i];


More information about the Gcc-bugs mailing list