This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PR fortran/82865] Fix PDT declarations being parsed as PRINT statements with -fdec


On Thu, Jun 28, 2018 at 12:07 AM, Fritz Reese <fritzoreese@gmail.com> wrote:

> One extension enabled by -fdec is the ability to interpret TYPE ....
> as a PRINT statement for compatibility purposes. When PDTs were
> introduced, the code that handles -fde TYPE matching was not updated.
> This patch fixes TYPE matching to no longer interpret <TYPE
> name(parameter)> as a PRINT statement when -fdec is asserted. Passes
> regression tests as well.
>
> The patch is attached. OK for trunk and 7/8-branch?
>

Ok, thanks.

-- 
Janne Blomqvist


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]