[PATCH] PR fortran/35031 -- Check F2018:C1246
Paul Richard Thomas
paul.richard.thomas@gmail.com
Fri Jan 11 11:17:00 GMT 2019
Hi Steve,
Yes, that's good for trunk.
Thanks
Paul
On Fri, 11 Jan 2019 at 01:16, Steve Kargl
<sgk@troutmask.apl.washington.edu> wrote:
>
> An entry-name obtains the elemental attribute from its containing
> procedure. F2018:C1546 prohibits an procedure from having a BIND(C)
> attribute. BIND(C) can appear on the entry-stmt line, so gfortran
> needs to check for a conflict. The attached patch does this check.
> Tested on x86_64-*-freebsd. Ok to commit?
>
> 2019-01-10 Steven G. Kargl <kargl@gcc.gnu.org>
>
> PR fortran/35031
> * decl.c (gfc_match_entry): Check for F2018:C1546. Fix nearby
> mis-indentation.
>
> 2019-01-10 Steven G. Kargl <kargl@gcc.gnu.org>
>
> PR fortran/35031
> * gfortran.dg/pr35031.f90: new test.
>
> --
> Steve
--
"If you can't explain it simply, you don't understand it well enough"
- Albert Einstein
More information about the Gcc-patches
mailing list