Fix calls.c for a _complex type (PR ipa/80104).
authorMartin Liska <mliska@suse.cz>
Tue, 28 Mar 2017 09:01:57 +0000 (11:01 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 28 Mar 2017 09:01:57 +0000 (09:01 +0000)
commit62f96a79f10e0c6772e5302c076b8c062e42b0d9
treeb8ccb7f450eee4dc11939d53d2c64580b749a415
parent0dee55fec92e299eb584f2d8e4bfb797e0c2328c
Fix calls.c for a _complex type (PR ipa/80104).

2017-03-28  Martin Liska  <mliska@suse.cz>

PR ipa/80104
* cgraphunit.c (cgraph_node::expand_thunk): Mark argument of a
thunk call as DECL_GIMPLE_REG_P when vector or complex type.
2017-03-28  Martin Liska  <mliska@suse.cz>

PR ipa/80104
* gcc.dg/ipa/pr80104.c: New test.

From-SVN: r246525
gcc/ChangeLog
gcc/cgraphunit.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/pr80104.c [new file with mode: 0644]