re PR middle-end/83487 (ICE in expand_call, at calls.c:4098)
authorJakub Jelinek <jakub@redhat.com>
Thu, 21 Dec 2017 23:10:45 +0000 (00:10 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 21 Dec 2017 23:10:45 +0000 (00:10 +0100)
commit604aac48157176b932b5a8772db4d4919199c300
treeb5d4bdc392365b4e9bd0c05520f364bc8a855a9f
parent36367d1f19e2a61bd05b292df8f27aab4c03ba72
re PR middle-end/83487 (ICE in expand_call, at calls.c:4098)

PR middle-end/83487
* config/i386/i386.c (ix86_function_arg_boundary): Return
PARM_BOUNDARY for TYPE_EMPTY_P types.

* gcc.c-torture/compile/pr83487.c: New test.
* gcc.dg/compat/pr83487-1.h: New file.
* gcc.dg/compat/pr83487-1_main.c: New test.
* gcc.dg/compat/pr83487-1_x.c: New file.
* gcc.dg/compat/pr83487-1_y.c: New file.
* gcc.dg/compat/pr83487-2_main.c: New test.
* gcc.dg/compat/pr83487-2_x.c: New file.
* gcc.dg/compat/pr83487-2_y.c: New file.
* g++.dg/abi/pr83487.C: New test.
* g++.dg/compat/abi/pr83487-1_main.C: New test.
* g++.dg/compat/abi/pr83487-1_x.C: New file.
* g++.dg/compat/abi/pr83487-1_y.C: New file.
* g++.dg/compat/abi/pr83487-2_main.C: New test.
* g++.dg/compat/abi/pr83487-2_x.C: New file.
* g++.dg/compat/abi/pr83487-2_y.C: New file.

From-SVN: r255961
18 files changed:
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/pr83487.C [new file with mode: 0644]
gcc/testsuite/g++.dg/compat/abi/pr83487-1_main.C [new file with mode: 0644]
gcc/testsuite/g++.dg/compat/abi/pr83487-1_x.C [new file with mode: 0644]
gcc/testsuite/g++.dg/compat/abi/pr83487-1_y.C [new file with mode: 0644]
gcc/testsuite/g++.dg/compat/abi/pr83487-2_main.C [new file with mode: 0644]
gcc/testsuite/g++.dg/compat/abi/pr83487-2_x.C [new file with mode: 0644]
gcc/testsuite/g++.dg/compat/abi/pr83487-2_y.C [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/compile/pr83487.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/compat/pr83487-1.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/compat/pr83487-1_main.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/compat/pr83487-1_x.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/compat/pr83487-1_y.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/compat/pr83487-2_main.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/compat/pr83487-2_x.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/compat/pr83487-2_y.c [new file with mode: 0644]