https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67815
--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Created attachment 36487 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36487&action=edit r2 Untested preliminary patch. I'm not sure about the floating-point matter in there.