https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91106
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Mon Oct 21 11:39:53 2019 New Revision: 277248 URL: https://gcc.gnu.org/viewcvs?rev=277248&root=gcc&view=rev Log: Backported from mainline 2019-09-06 Jakub Jelinek <ja...@redhat.com> * function.c (assign_parm_find_data_types): Use RECORD_OR_UNION_TYPE_P before testing TYPE_TRANSPARENT_AGGR. * calls.c (initialize_argument_information, load_register_parameters): Likewise. 2019-09-05 Jakub Jelinek <ja...@redhat.com> PR middle-end/91001 PR middle-end/91105 PR middle-end/91106 * calls.c (load_register_parameters): For TYPE_TRANSPARENT_AGGR types, use type of their first field instead of type of args[i].tree_value. * gcc.c-torture/compile/pr91001.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/gcc.c-torture/compile/pr91001.c Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/calls.c branches/gcc-9-branch/gcc/function.c branches/gcc-9-branch/gcc/testsuite/ChangeLog