This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/70446] g++: internal compiler error: Killed (program cc1plus), probably related to vectors
- From: "ivanbili at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 30 Mar 2016 00:51:15 +0000
- Subject: [Bug c++/70446] g++: internal compiler error: Killed (program cc1plus), probably related to vectors
- Auto-submitted: auto-generated
- References: <bug-70446-4 at http dot gcc dot gnu dot org/bugzilla/>
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];