This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/85526] [6/7/8/9 regression] ICE when calling a (pure) function from inside another pure function
- From: "mail at pietrodelugas dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 26 Apr 2018 08:03:35 +0000
- Subject: [Bug fortran/85526] [6/7/8/9 regression] ICE when calling a (pure) function from inside another pure function
- Auto-submitted: auto-generated
- References: <bug-85526-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85526
--- Comment #4 from Pietro Delugas <mail at pietrodelugas dot it> ---
a quick and dirty workaround is to move all the routines in the "leng"
interface at the bottom of the file. But some compilers do not accept this code
as valid.
A better solution is to move the leng subroutines in a module by their own and
import the interface.