re PR c++/83490 (ICE in find_call_stack_args, at dce.c:392)
authorMarek Polacek <polacek@redhat.com>
Tue, 19 Dec 2017 14:58:17 +0000 (14:58 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Tue, 19 Dec 2017 14:58:17 +0000 (14:58 +0000)
commit1570e19df497e00a8565e53445961bf25db79725
tree378594d74f7fc11a977f149d4410b2fcb69dce28
parent66825a3022e56e1bbe5308415c5b6cd9139597e9
re PR c++/83490 (ICE in find_call_stack_args, at dce.c:392)

PR c++/83490
* config/i386/i386.c (init_cumulative_args): Don't check TYPE_EMPTY_P
on an error node.

* g++.dg/abi/pr83490.C: New test.

From-SVN: r255824
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/pr83490.C [new file with mode: 0644]