https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64432
--- Comment #14 from Harald Anlauf <anlauf at gmx dot de> --- Created attachment 34488 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34488&action=edit Updated partial patch This modified partial patch addresses the potential performance issue by calling the _4 and/or _8 versions of the library functions when needed, combining multiple arguments of the same kind as in the original code version. Still not done: handling of kind=1,2 arguments. I need a hint how to generate code to set these arguments to those explicit values described by the standard. Harald