viewtopic.php?f=3&t=1090
I've seen that there is nothing in the spec. preventing
- Code: Select all
reduction(*:sum)
...
sum=sum+v[i];
i.e. using an operator in the clause and another in the actual code.
Do you think it would be good to add something like a Restriction in the reduction clause to avoid this mixture so that compilers can check an generate an error or it is better to leave this as a bug?
Thanks in advance.
