https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85786
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |8.2 --- Comment #15 from kargl at gcc dot gnu.org --- I have converted the code in comment #3 to a testcase and committed it to trunk. I have also back-ported the patch in comment #5 to the 8-branch.