re PR middle-end/78306 ([CilkPlus] "inlining failed in call to always_inline ‘memset...
authorRichard Biener <rguenther@suse.de>
Thu, 17 Nov 2016 08:42:50 +0000 (08:42 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 17 Nov 2016 08:42:50 +0000 (08:42 +0000)
commit8ce3fee51b0ede9b6033cd45d4ce6df56b5ec71a
treeef9be086f36804e6714d6b5fc529319cb8339370
parentf8294131788cec4ca520032073e92928fbbb06a2
re PR middle-end/78306 ([CilkPlus] "inlining failed in call to always_inline ‘memset’: function not inlinable" with -fcilkplus)

2016-11-17  Richard Biener  <rguenther@suse.de>

PR tree-optimization/78306
* ipa-inline-analysis.c (initialize_inline_failed): Do not
inhibit inlining if function calls cilk_spawn.
(can_inline_edge_p): Likewise.

* gcc.dg/cilk-plus/pr78306.c: New testcase.

From-SVN: r242537
gcc/ChangeLog
gcc/ipa-inline-analysis.c
gcc/ipa-inline.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cilk-plus/pr78306.c [new file with mode: 0644]