[J3] BOZ in an array constructor
Vipul Parekh
parekhvs at gmail.com
Mon Jul 8 00:32:33 EDT 2019
On Sun, Jul 7, 2019 at 3:44 PM Steven G. Kargl via J3
<j3 at mailman.j3-fortran.org> wrote:
>
> gfortran's handling of BOZ is rather broken, and I'm
> currently investigating several fixes. In writing
> a test program (assuming kind = 4 and 8 are valid), I
> came up with
>
> program foo
> integer(kind=4) :: i(2) = int([z'1234', z'5678'])
> integer(kind=8) :: j(2) = int([integer(8) :: z'1234', z'5678'])
> print *, i
> end program foo
>
> It seems to me C7111 prevents the i(2) case and C7112 prevents
> the j(2) case. ..
Steve,
Just fyi: see paper 132 from the J3 meeting 218 during Feb 11-15 2019:
https://j3-fortran.org/doc/year/19/19-132.txt
Regards,
Vipul Parekh
More information about the J3
mailing list