https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109478
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-12 branch has been updated by John David Anglin <dang...@gcc.gnu.org>: https://gcc.gnu.org/g:dca9419cc3844d3cf3c06f51d5ca57e3b5f50920 commit r12-9461-gdca9419cc3844d3cf3c06f51d5ca57e3b5f50920 Author: John David Anglin <dang...@gcc.gnu.org> Date: Fri Apr 21 14:38:42 2023 +0000 Fix handling of large arguments passed by value. 2023-04-15 John David Anglin <dang...@gcc.gnu.org> gcc/ChangeLog: PR target/109478 * config/pa/pa-protos.h (pa_function_arg_size): Update prototype. * config/pa/pa.cc (pa_function_arg): Return NULL_RTX if argument size is zero. (pa_arg_partial_bytes): Don't call pa_function_arg_size twice. (pa_function_arg_size): Change return type to int. Return zero for arguments larger than 1 GB. Update comments.