On Fri, Oct 14, 2016 at 05:24:53PM -0700, Steve Kargl wrote:
> For the code
>
> program foo
> stop merge(667, 668, .true.)
> end
>
> gfortran with either -std=f95 or -std=f2003 should reject
> this code. My patch does not fix this issue, because it
> would (1) require a complete rewri
The attach patch fixes a number of shortcomings with
STOP codes in gfortran. The updated comment in the
code nicely summarizes the problem.
/* Match a number or character constant after an (ERROR) STOP or PAUSE
- statement. */
+ statement. The requirements for a stop-code differs in the st