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