Some additional information: This bug also causes a broken OpenSCAD: https://github.com/openscad/openscad/issues/514 I've confirmed the 2 line change in stl_algo.h fixes the OpenSCAD problem. Upstream bug report exists at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58800 -- Torsten.