re PR ipa/71146 (error: __builtin_unreachable or __builtin_trap call with arguments)
authorMarek Polacek <polacek@redhat.com>
Tue, 17 May 2016 20:00:41 +0000 (20:00 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Tue, 17 May 2016 20:00:41 +0000 (20:00 +0000)
commit47768df837de3d5d8e87ea4add0ef859b7b5f8f9
treef48f41715a53f061b6c1e0b2a6fbfac40a0e26b5
parent6b5423a512421989934071586c9ddb6ee42ac417
re PR ipa/71146 (error: __builtin_unreachable or __builtin_trap call with arguments)

PR ipa/71146
* tree-inline.c (expand_call_inline): Call
maybe_remove_unused_call_args.

* g++.dg/ipa/pr71146.C: New test.

From-SVN: r236343
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr71146.C [new file with mode: 0644]
gcc/tree-inline.c