This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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];

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]