------- Comment #9 from paul dot richard dot thomas at gmail dot com 2010-07-22 10:00 ------- Subject: Re: Aliasing of TARGET dummy argument not detected correctly
Dear Tobias, > I think the patch below looks fine, however, if I set a break point, the > function "gfc_check_dependency" is never called for test program. Thus, there > must be at least another spot where a change is required. Paul, do you have an > idea where? Ahhhh.... yes. Dependencies in assignment go their own sweet way. trans-array.c:gfc_conv_resolve_dependencies calls gfc_could_be_alias, which in its turn calls symbol.c:gfc_symbols_could_alias This latter is where you need to intervene. Cheers Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45019