[Bug fortran/29391] LBOUND(TRANSPOSE(I)) doesn't work
paulthomas2 at wanadoo dot fr
gcc-bugzilla@gcc.gnu.org
Wed Oct 11 08:02:00 GMT 2006
------- Comment #8 from paulthomas2 at wanadoo dot fr 2006-10-11 08:02 -------
Subject: Re: LBOUND(TRANSPOSE(I)) doesn't work
FX,
>I get all intrinsics that work through temporaries working right:
>
>
>
Great!
>So I only have PRODUCT, SUM, MATMUL, PACK and UNPACK to work on.
>
>
>
>
I wonder if doing the same in trans-intrinsic.c
(gfc_conv_intrinsic_function) might not be the magic bullet? You could
write a little function to normalise the bounds of se->expr, putting the
code in the se->post, and call it from lines 3198 and 3589.
You had better check the performance hit, if any, that results from
touching gfc_trans_create_temp_array - run the Polyhedron suite, for
example, with and without the patch.
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29391
More information about the Gcc-bugs
mailing list