[Patch, Fortran] PR54389 - DECL_PURE_P: set for implicit_pure but not for impure elemental

Mikael Morin mikael.morin@sfr.fr
Tue Aug 28 18:09:00 GMT 2012


On 28/08/2012 10:51, Tobias Burnus wrote:
> DECL_PURE_P was also set for elemental procedures, which is wrong if
> they are IMPURE.
> 
> Additionally, we do the same checks for PURE also for
> attr.implicit_pure. I think the checks are strict enough that we can
> dare to set DECL_PURE_P also for gfortran's attr.implicit_pure
> procedures. What do you think?
Let's try.

> 
> Build on x86-64-linux. (I will also regtest it.)
> OK for the trunk?
OK (if it passes).

Mikael



More information about the Fortran mailing list