This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [gfortran] Fix PRs 14771, 20894, 25048 : keep track of parentheses


Quoting Erik Zeek <zeekec@mad.scientist.com>:
> This appears to cause the following to fail:
>
> program test
>     call bob(5)
> contains
>     subroutine bob(n)
>         integer, intent(in) :: n
>         character(len=n) :: temp1
>         character(len=(n)) :: temp2 ! Fails here
>     end subroutine bob
> end program test
>
> gfortran-CVS gf.F95
>  In file gf.F95:7
>
>         character(len=(n)) :: temp2
>                      1
> Error: Only intrinsic operators can be used in expression at (1)

Thanks, I've been waiting for this kind of fallout to appear, I have a fix in
testing, and am auditing the code for similar problems.

- Tobi


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