[Bug fortran/79447] [F08] gfortran rejects valid & accepts invalid internal subprogram in a submodule

2017-03-14 Thread damian at sourceryinstitute dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79447

Damian Rouson  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Damian Rouson  ---
Comment 7 indicates that a patch was applied to the trunk nearly a month ago so
I assumed this can be marked as Resolved/Fixed.

[Bug fortran/79447] [F08] gfortran rejects valid & accepts invalid internal subprogram in a submodule

2017-02-19 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79447

--- Comment #5 from Paul Thomas  ---
Author: pault
Date: Sun Feb 19 19:59:20 2017
New Revision: 245582

URL: https://gcc.gnu.org/viewcvs?rev=245582&root=gcc&view=rev
Log:
2017-02-19  Paul Thomas  

PR fortran/79447
* decl.c (gfc_set_constant_character_len): Whitespace.
(gfc_match_end): Catch case where a procedure is contained in
a module procedure and ensure that 'end procedure' is the
correct termination.

2017-02-19  Paul Thomas  

PR fortran/79447
* gfortran.dg/submodule_24.f08 : New test.

Added:
trunk/gcc/testsuite/gfortran.dg/submodule_24.f08
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/decl.c
trunk/gcc/testsuite/ChangeLog

[Bug fortran/79447] [F08] gfortran rejects valid & accepts invalid internal subprogram in a submodule

2017-02-14 Thread damian at sourceryinstitute dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79447

--- Comment #4 from Damian Rouson  ---
Hi Paul,

Thanks for the updates.  My son loves to host garage sales so let us know if
you're getting rid of the "stuff" and we'll drop by. :) Safe travels. 

Damian

[Bug fortran/79447] [F08] gfortran rejects valid & accepts invalid internal subprogram in a submodule

2017-02-14 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79447

--- Comment #3 from Paul Thomas  ---
Hi Damian,

Thanks for the report. I am back in France for a couple of days, tidying up
things like utility company contracts and the pile of "stuff" that I left in a
friend's garage. I'll get onto this as soon as I am able - certainly this week.

Best regards

Paul

[Bug fortran/79447] [F08] gfortran rejects valid & accepts invalid internal subprogram in a submodule

2017-02-10 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79447

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2017-02-10
 CC||pault at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #2 from Dominique d'Humieres  ---
Confirmed.

[Bug fortran/79447] [F08] gfortran rejects valid & accepts invalid internal subprogram in a submodule

2017-02-09 Thread damian at sourceryinstitute dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79447

--- Comment #1 from Damian Rouson  ---
I just tested with a more recent build (7.0.1 dated 20170205) and see the same
behavior.