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: [Patch, fortran] PR68534 - No error on mismatch in number of arguments between submodule and module interface


On Sat, Dec 05, 2015 at 04:20:54PM +0100, Paul Richard Thomas wrote:
> 
> Going back through my notes on the original submodule patch, I ran
> into all sorts of problems with extraneous errors and ICEs if I tried
> to avoid the ugliness. I spent some time today trying to overcome
> these problems but got nowhere.
> 
> The cause of the segfault, I believe, was an error: 'sym' being used
> instead of 'progname': Could you please try the attached patch when
> you have a moment.
> 

Yes, I'll try the patch shortly.

When I said that it was ugly (if one returned MATCH_ERROR or
MATCH_NO), I did not mean for you to waste time looking into
using either return value.  Sorry if I caused confusion.
I tried both return values, and I think the matchers
get into such a confused state that it is hopeless to try
to recover.

-- 
Steve


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