[Patch, Fortran + Testsuite] Fix coarray handling in modules
Dominique d'Humières
dominiq@lps.ens.fr
Sat Jan 3 23:04:00 GMT 2015
Compilation with the new patch fails with
../../work/gcc/fortran/trans-decl.c: In function 'void gfc_build_qualified_array(tree, gfc_symbol*)':
../../work/gcc/fortran/trans-decl.c:855:25: error: 'cur_module' was not declared in this scope
gfc_module_add_decl (cur_module, token);
Dominique
> Le 3 janv. 2015 à 23:30, Tobias Burnus <burnus@net-b.de> a écrit :
>
> Dominique d'Humières wrote:
>> From a quick test, with the patch I still see the error with -m32
>
> It helps if one actually adds the decl. The following (still untested) should help. I also marked the token as nonaliasing (it really should!) and added for proc pointers the tree-public optimization.
>
> Tobias
> <foo.diff>
More information about the Gcc-patches
mailing list