https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104989
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by John David Anglin <dang...@gcc.gnu.org>: https://gcc.gnu.org/g:4f1c5e54d782b26304b0095ffb3ceb4c92c3c78d commit r13-7194-g4f1c5e54d782b26304b0095ffb3ceb4c92c3c78d Author: John David Anglin <dang...@gcc.gnu.org> Date: Sat Apr 15 17:02:44 2023 +0000 Fix handling of large arguments passed by value. 2023-04-15 John David Anglin <dang...@gcc.gnu.org> gcc/ChangeLog: PR target/104989 * 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.