From: John David Anglin Date: Mon, 6 Mar 2017 22:48:53 +0000 (+0000) Subject: PR target 77850 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5935a7c495162f3d03c13336492f2cc434339074;p=gcc.git PR target 77850 PR target 77850 * config/pa/pa-64.h (PAD_VARARGS_DOWN): Don't pad down complex and vector types. From-SVN: r245931 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a13d73ae356..bd424cbdf58 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2017-03-06 John David Anglin + + PR target 77850 + * config/pa/pa-64.h (PAD_VARARGS_DOWN): Don't pad down complex and + vector types. + 2017-03-06 Vladimir Makarov PR rtl-optimization/79571 diff --git a/gcc/config/pa/pa-64.h b/gcc/config/pa/pa-64.h index 17f3571c6d5..1d08b28e76c 100644 --- a/gcc/config/pa/pa-64.h +++ b/gcc/config/pa/pa-64.h @@ -83,7 +83,10 @@ along with GCC; see the file COPYING3. If not see arguments are padded down when BYTES_BIG_ENDIAN is true. We don't want aggregates padded down. */ -#define PAD_VARARGS_DOWN (!AGGREGATE_TYPE_P (type)) +#define PAD_VARARGS_DOWN \ + (!AGGREGATE_TYPE_P (type) \ + && TREE_CODE (type) != COMPLEX_TYPE \ + && TREE_CODE (type) != VECTOR_TYPE) /* In the PA architecture, it is not possible to directly move data between GENERAL_REGS and FP_REGS. On the 32-bit port, we use the