------- Comment #8 from dominiq at lps dot ens dot fr 2010-07-04 10:48 ------- > Note: The function "ddx" is not declared as PURE - > and also cannot simply marked as pure as it host-associates the variables "I" > and "J" - thus a simple check for no host association would not work.
There is no temporaries if ddx and ddy are declared pure (after adding intent(in) for array, and replacing I and J by say nI and nJ). So at least this works, require to change the code. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44773