re PR target/10142 ([SPARC64] gcc produces wrong code when passing structures by value)
PR target/10142 * config/sparc/sparc.c (function_arg_record_value_parms): Add new 'stack' field. (function_arg_record_value_1): Set 'stack' to 1 if we run out of integer slots for an integer field. (function_arg_record_value_3): Shift vector index. (function_arg_record_value_2): Likewise. (function_arg_record_value): Initialize 'stack' to 0. Set 'stack' to 1 if we run out of integer slots for an integer field. Generate (parallel [(expr_list (nil) ...) ...]) if 'stack' is set to 1. Co-Authored-By: Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de> From-SVN: r67874
Showing
Please
register
or
sign in
to comment