https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120049
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #61475|0 |1 is obsolete| | --- Comment #35 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- Created attachment 61522 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61522&action=edit Patch with reworked logic and expanded test case Here is my latest attempt. I would appreciate if someone could exercise this and comment back here. I added in the test cases identified by Harald. It does regression test OK.