This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [gfortran] Fix PRs 14771, 20894, 25048 : keep track of parentheses
Quoting Erik Zeek <zeekec@mad.scientist.com>:
> A test that fails with Paul's patch (Tobi, I haven't tested your patch
> yet). Although it's a different error.
>
> module para
> contains
> function bobo(n)
> integer, intent(in) :: n
> character(len=(n)) :: bobo ! Fails here
> bobo = "1234567890"
> end function bobo
> end module para
>
> program test
> use para
> implicit none
> call bobo(5)
> end program test
>
> gfortran-CVS gf.F95
> Fatal Error: Writing module para at line 13 column 47: Bad operator
Works with mine, once brought into a valid form :-)
- Tobi