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

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to robert from comment #9)
> Does the patch mean k[] gets marked as shared?

No, k is a local automatic variable in the scope of the worksharing loop body
and as such it is really private.
The patch is about the .LC0 which is an artificial static variable which the
gimplifier inserts on some targets for the initializer, and indeed, the patch
makes it shared (it was shared before as well, because without default(none)
vars with implicit data sharing are shared and shared is the only reasonable
thing to do with .rodata variables, you don't want to copy them just to make
things slower.

Reply via email to