https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118613
--- Comment #4 from anlauf at gcc dot gnu.org --- Created attachment 60243 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60243&action=edit Preliminary patch This does the job and fixes the rank-1 case. Regtests ok. Still need to adjust the documentation of the (corrected) algorithm.