https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82045
--- Comment #8 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > (In reply to r...@cebitec.uni-bielefeld.de from comment #6) [...] > Ah! Thanks for debugging it. I guess the problem is that we're > passing the new machine_mode classes through ... and interpreting > them as int in emit_library_call_value_1. This will only work on > ABIs that pass the two in the same way. Which they don't: according to the SPARC psABI, structs are passed by reference. And indeed interpreting mode as a scalar_float_mode * yields the expected E_TFmode value for m_mode. Rainer