https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119948
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2025-04-27
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
CC| |jvdelisle at gcc dot gnu.org
--- Comment #4 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
A small adjustment to the comment in the patch:
/* If sym is for a result-name, its pure attribute may not be set.
Check the namespace to see if this is a procedure and, if it is a
pure function. */
instead of:
/* If sym is for a result-name, then its pure attribute may not be set.
Check the namespace to see if this a procedure, and if it is a
pure function. */
Otherwise, OK and regression tests fine here as well.