[Bug fortran/96255] [F2018] Implement optional type spec for index in DO CONCURRENT
anlauf at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 11 21:42:08 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96255
--- Comment #23 from anlauf at gcc dot gnu.org ---
The testers reported:
https://gcc.gnu.org/pipermail/gcc-testresults/2025-November/862281.html
../../src-master/gcc/fortran/resolve.cc: In function ‘void
gfc_resolve_forall(gfc_code*, gfc_namespace*, int)’:
../../src-master/gcc/fortran/resolve.cc:12653:27: error: unused variable
‘outer_sym’ [-Werror=unused-variable]
12653 | gfc_symbol *outer_sym;
| ^~~~~~~~~
I think this declaration should/can be removed without side-effects.
More information about the Gcc-bugs
mailing list