https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106665

--- Comment #1 from SHIH YEN-TE <shihyente at hotmail dot com> ---
Another workaround is swap the declaration order of variable pool and
sync_point.

Changed from

    vector<jthread> pool;
    barrier sync_point(8);

To

    barrier sync_point(8);
    vector<jthread> pool;

Then the Segmentation fault disappeared.

Reply via email to