On 07/27/15 07:43, Jakub Jelinek wrote:
On Mon, Jul 27, 2015 at 07:33:59AM -0400, Nathan Sidwell wrote:
They are only global objects if they are filled with constants.
Right know for kinds array that is true always, for sizes array if no VLAs
nor variable length array sections are used.
They a
On Mon, Jul 27, 2015 at 07:33:59AM -0400, Nathan Sidwell wrote:
> On 07/27/15 04:23, Jakub Jelinek wrote:
> >On Sun, Jul 26, 2015 at 11:01:09AM -0400, Nathan Sidwell wrote:
> >>I found some more missing consts. The size, kind, var and function arrays
> >>emitted by omp-low are read only, but are n
On 07/27/15 04:23, Jakub Jelinek wrote:
On Sun, Jul 26, 2015 at 11:01:09AM -0400, Nathan Sidwell wrote:
I found some more missing consts. The size, kind, var and function arrays
emitted by omp-low are read only, but are not so marked. This patch
First of all, the hostaddrs array is going to
On Sun, Jul 26, 2015 at 11:01:09AM -0400, Nathan Sidwell wrote:
> I found some more missing consts. The size, kind, var and function arrays
> emitted by omp-low are read only, but are not so marked. This patch
First of all, the hostaddrs array is going to be written by the library
side for GOMP_
Jakub, Ilya,
I found some more missing consts. The size, kind, var and function arrays
emitted by omp-low are read only, but are not so marked. This patch
a) adds const qualifier and marks them read only. They now end up in .rodata
and .data.ro.rel appropriately.
b) adds const qualifier t