https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88900
--- Comment #11 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to rguent...@suse.de from comment #10) > On Wed, 23 Jan 2019, marxin at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88900 > > > > Martin Liška <marxin at gcc dot gnu.org> changed: > > > > What |Removed |Added > > ---------------------------------------------------------------------------- > > Status|ASSIGNED |RESOLVED > > Resolution|--- |INVALID > > > > --- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> --- > > Yes, -fno-strict-aliasing works! > > You can also try the specifc source fix to spec_qsort which IIRC > I attached somewhere... Yep, it's this patch: https://github.com/freebsd/freebsd/commit/26c8a03901f609258e58c4e3bfdc981962a638f0#diff-a8e4a78e4bb28c6e0fe9561688f51573