d: Do not implicitly set DECL_DECLARED_INLINE_P on member functions.
authorIain Buclaw <ibuclaw@gdcproject.org>
Thu, 25 Jun 2020 07:33:26 +0000 (09:33 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Thu, 25 Jun 2020 15:02:47 +0000 (17:02 +0200)
commit27a68020110f671ef3b64cdce27f7b723f8a1fec
treead5539bbd94257fce30003983dd45f6b6482905a
parentbbd6a326f4e630f017e4cd715f617587048d4501
d: Do not implicitly set DECL_DECLARED_INLINE_P on member functions.

This has been questionable behaviour since it was added, and though it
has no effect on wider discussions around what should be the correct
semantics of pragma(inline) within D modules, doing this tree-level
optimization has mostly zero benefit as cross-module inlining doesn't
happen anyway.

gcc/d/ChangeLog:

* decl.cc (get_symbol_decl): Do not implicitly set
DECL_DECLARED_INLINE_P on member functions.
gcc/d/decl.cc