https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63789
--- Comment #1 from Richard PALO <richard at netbsd dot org> --- I should mention that rendering the test program pure c++ by replacing the first two lines with: >#include <cstdlib> >#include <cmath> allows the snippet build with both -m32 and -m64. It should be able to build as is, though.