This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r278575 - in /branches/gcc-8-branch/gcc: Change...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 21 Nov 2019 17:11:20 -0000
- Subject: r278575 - in /branches/gcc-8-branch/gcc: Change...
Author: jakub
Date: Thu Nov 21 17:11:19 2019
New Revision: 278575
URL: https://gcc.gnu.org/viewcvs?rev=278575&root=gcc&view=rev
Log:
Backported from mainline
2019-09-06 Jakub Jelinek <jakub@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 <jakub@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-8-branch/gcc/testsuite/gcc.c-torture/compile/pr91001.c
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/calls.c
branches/gcc-8-branch/gcc/function.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog