https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117765

--- Comment #9 from kargls at comcast dot net ---
(In reply to kargls from comment #8)
> 
> Nice catch.  I did not consider impure subroutines (obviously).
> It seems that resolve.cc does not have a check_pure_subroutine()
> like it does for functions.  I peek at the source code later 
> today.

Need to modify resolve.cc:pure_subroutine() with the similar chunk
of code as in check_pure_function(),

Reply via email to