https://gcc.gnu.org/g:efc6e3ab3a405004b62dc1e4e14e0e2770c2f041
commit efc6e3ab3a405004b62dc1e4e14e0e2770c2f041 Author: Mikael Morin <[email protected]> Date: Mon Sep 28 22:09:27 2026 +0200 Suppression/ajout attributs supplémentaires Diff: --- gcc/fortran/primary.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/fortran/primary.cc b/gcc/fortran/primary.cc index ff6a3e528321..5f6aac3328aa 100644 --- a/gcc/fortran/primary.cc +++ b/gcc/fortran/primary.cc @@ -3049,7 +3049,11 @@ gfc_variable_attr (gfc_expr *expr) && gfc_current_ns->proc_name == sym) { attr.function = 0; + attr.elemental = 0; + attr.pure = 0; + attr.recursive = 0; attr.flavor = FL_VARIABLE; + attr.result = 1; } optional = attr.optional;
