Fix handling of floating-point homogeneous aggregates.
authorJohn David Anglin <danglin@gcc.gnu.org>
Fri, 21 Feb 2020 23:30:24 +0000 (23:30 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Fri, 21 Feb 2020 23:30:24 +0000 (23:30 +0000)
commit01af7e0a0c230ca90c22b1f34ff9215ab6a714fd
treea82646dbc22e86985075738a40ebd9d91b9b3711
parent8d1780b56d0cb1d50115d4e925e81cd8b9cb2923
Fix handling of floating-point homogeneous aggregates.

2020-02-21  John David Anglin  <danglin@gcc.gnu.org>

* gcc/config/pa/pa.c (pa_function_value): Fix check for word and
double-word size when handling aggregate return values.
* gcc/config/pa/som.h (ASM_DECLARE_FUNCTION_NAME): Fix to indicate
that homogeneous SFmode and DFmode aggregates are passed and returned
in general registers.
gcc/ChangeLog
gcc/config/pa/pa.c
gcc/config/pa/som.h