[gfortran,commited] Fix LBOUND and UBOUND intrinsics
François-Xavier Coudert
fxcoudert@gmail.com
Fri Oct 13 13:14:00 GMT 2006
Hi all,
I commited the attached patch to mainline (rev. 117691) so that
gfortran generates correct code for LBOUND and UBOUND intrinsics
(which were broken in a large number of cases, see PR29391).
It was OKed by Paul Thomas on IRC, and regtested on x86_64-linux. I
intend to backport the patch to the 4.1 branch in a week or so.
PR fortran/29391
* trans-intrinsic.c (gfc_conv_intrinsic_bound): Generate correct
code for LBOUND and UBOUND intrinsics.
* gfortran.dg/bound_2.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lbound_ubound.diff
Type: text/x-patch
Size: 7238 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20061013/3cfff7f8/attachment.bin>
More information about the Fortran
mailing list