This is the mail archive of the gcc-bugs@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]

[Bug fortran/29391] LBOUND(TRANSPOSE(I)) doesn't work



------- 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


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