Dear Tobias,
Given Dominques news that this fixes a golden oldie that drove me to
madness and PR60593 - OK for trunk, 4.8 and 4.9
Many thanks for the patch
Paul
On 27 August 2014 22:59, Tobias Burnus bur...@net-b.de wrote:
The current gfc_check_dependency check always looked at the pointer
This patch fixes pr44735 and pr60593. Otherwise I have regstrapped the
three patches without regression.
Thanks,
Dominique
The current gfc_check_dependency check always looked at the pointer
attribute - and assumed the worst, if either the LHS or the RHS was true.
Thus, it claimed that a and b alias for the following definition:
integer, pointer :: p; integer :: a. However, as a has no target (or
pointer)
Tobias Burnus wrote:
{
+ symbol_attribute attr1, attr2;
gfc_typespec *ts1 = expr1-symtree-n.sym-ts;
- gfc_typespec *ts2 = expr2-symtree-n.sym-ts;
+ gfc_typespec *ts2 = expr2-symtree-n.sym-ts;
[Ignore the ts2-line change: I have accidentally added a