[Bug c++/80038] Random segfault using local vectors in Cilk function [Regression 6/7]

2017-03-16 Thread cont...@edgar-fournival.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80038 --- Comment #19 from Edgar Fournival <cont...@edgar-fournival.fr> --- Thanks for your explanations. I will investigate on my side and check the generated assembly of our project. Please keep us posted with the results of your bisection.

[Bug c++/80038] Random segfault using local vectors in Cilk function [Regression 6/7]

2017-03-16 Thread cont...@edgar-fournival.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80038 --- Comment #15 from Edgar Fournival <cont...@edgar-fournival.fr> --- (In reply to Xi Ruoyao from comment #14) > Although I don't understand all the code in the Github repo, but GCC 6 indeed > moved the temporary construction (in

[Bug c++/80038] Random segfault using local vectors in Cilk function

2017-03-16 Thread cont...@edgar-fournival.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80038 --- Comment #11 from Edgar Fournival <cont...@edgar-fournival.fr> --- It is also interesting to note that GCC 5.x is not impacted. Even if the given example code will not compile on GCC 5 (ICE in lower_stmt, at gimple-low.c:397 for th