This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/80038] Random segfault using local vectors in Cilk function
- From: "ryxi at stu dot xidian.edu.cn" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 16 Mar 2017 08:47:08 +0000
- Subject: [Bug c++/80038] Random segfault using local vectors in Cilk function
- Auto-submitted: auto-generated
- References: <bug-80038-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80038
--- Comment #12 from Xi Ruoyao <ryxi at stu dot xidian.edu.cn> ---
(In reply to Edgar Fournival from comment #11)
> 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 the line "cilk_spawn walk(vnew, size);"), we
> discovered the bug in this project:
> https://github.com/hivert/NumericMonoid/tree/master/src/Cilk%2B%2B (source)
> https://github.com/hivert/NumericMonoid/issues/2 (results, unfortunately in
> French)
> Which does compile under GCC 5.
Florent please add [Regression 6/7] in the title.
> The quick tests done on my machine show that something between GCC 5.4.0 and
> GCC 6.3.1 introduced the destructor bug.
My first guess is the fix to the ICE introduced this bug. Testing...