Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarification: how is an empty layout qualfier, or a qualifier of [1] handled when present in a series of qualifiers, or via a typedef chain? #69

Open
GoogleCodeExporter opened this issue Jul 2, 2015 · 9 comments

Comments

@GoogleCodeExporter
Copy link

Consider the following:

shared shared [1] int A[THREADS];

After the first occurrence of 'shared' there is an empty layout qualifier, 
which implies a value of [1].  Is this duplicative w. r. t. to the second 
explicit layout qualifier of [1]?

How about the following:

shared shared [3] int A[3*THREADS];

does the value [3] over-ride the previous empty layout qualifier?

Is the following equivalent, or somehow different?

shared [1] shared [3] int A[3*THREADS];

This issue is related to issue #68.


Original issue reported on code.google.com by gary.funck on 17 Jul 2012 at 8:22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant