This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/82045] [8 regression] SPARC bootstrap broken: ICE in emit_library_call_value_1, at calls.c:4565


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 ro@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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]