https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89093
--- Comment #18 from Florian Weimer <fw at gcc dot gnu.org> --- (In reply to Ramana Radhakrishnan from comment #15) > Created attachment 45552 [details] > new patch. > > Testing this and would be grateful for a test run. Is this hunk needed as well, or will the unwinding information take care of this? (__cxa_call_unexpected has another d8 register spill.) Index: libstdc++-v3/libsupc++/eh_call.cc =================================================================== --- libstdc++-v3/libsupc++/eh_call.cc (revision 268364) +++ libstdc++-v3/libsupc++/eh_call.cc (working copy) @@ -22,6 +22,11 @@ // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // <http://www.gnu.org/licenses/>. +#ifdef __arm__ +#pragma GCC target ("fpu=none") +#pragma GCC push_options +#endif + #include <bits/c++config.h> #include <cstdlib> #include <bits/exception_defines.h>