* [Bug c++/62047] --coverage segfault in libcilkrts
[not found] <bug-62047-4@http.gcc.gnu.org/bugzilla/>
@ 2014-08-07 11:03 ` glisse at gcc dot gnu.org
0 siblings, 0 replies; only message in thread
From: glisse at gcc dot gnu.org @ 2014-08-07 11:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62047
Marc Glisse <glisse at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|bootstrap |c++
--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
template <typename count_t, typename F>
void cilk_for_recursive(count_t, count_t, F, void *, int, int, int) {
_Cilk_spawn cilk_for_recursive(0, 0, 0, 0, 0, 0, 0);
}
template <typename count_t, typename F>
void cilk_for_root(F, void *, count_t, int) {
cilk_for_recursive(0, 0, 0, 0, 0, 0, 0);
}
void __cilkrts_cilk_for_64() { cilk_for_root(0, 0, 0, 0); }
$ g++ -fcilkplus --coverage -c marc.cc marc.cc:11:59: internal compiler
error: Segmentation fault
void __cilkrts_cilk_for_64() { cilk_for_root(0, 0, 0, 0); }
^
(I don't know if I should classify it with cilk (-> c++) or gcov)
^ permalink raw reply [flat|nested] only message in thread