------- Comment #4 from domob at gcc dot gnu dot org 2008-07-28 18:41 ------- Thanks for all the hints, Tobias! I've had a look through the F2003 standard about intrinsics taking optional char arguments, and it seems as though PACK and RESHAPE would suffer from the same problem as EOSHIFT does (optional string argument whose type is not even specified as to be always string), and tests showed that here too the call to the library function has one less argument when the optional string argument is not present... This is probably a problem there, too, isn't it?
None of those have their own conv_intrinsic_ functions at the moment (for all of them the if matches, as they all return non-scalar values). Is it ok if I try to write one generic conv-function for this case and call it for all the three intrinsics? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36403