This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29391] LBOUND(TRANSPOSE(I)) doesn't work
- From: "paulthomas2 at wanadoo dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Oct 2006 08:02:22 -0000
- Subject: [Bug fortran/29391] LBOUND(TRANSPOSE(I)) doesn't work
- References: <bug-29391-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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