This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, fortran] PR32881 - PURE attribute escapes from contained procedure
- From: Jerry DeLisle <jvdelisle at verizon dot net>
- To: Paul Thomas <paulthomas2 at wanadoo dot fr>
- Cc: Fortran List <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 17 Aug 2007 12:40:53 -0700
- Subject: Re: [Patch, fortran] PR32881 - PURE attribute escapes from contained procedure
- References: <46C53B8C.6050205@wanadoo.fr>
Paul Thomas wrote:
:ADDPATCH fortran:
This problem came about because the initialization assignment is tested
both in the outer and the contained namespaces. Thus, if the contained
namespace is pure, an error was caused. The initialization assignment
is tested by seeing if the rhs is the same as the 'value' field of the
lhs symbol. The testcase is the reporter's.
Regtests on amd64/Cygwin_NT - OK for trunk?
Paul
Also OK,
Thanks Paul,
Jerry