From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1005) id 052D9385803D; Fri, 6 May 2022 00:08:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 052D9385803D Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Michael Meissner To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/meissner/heads/work088)] Clear fusion bits for inline tests. X-Act-Checkin: gcc X-Git-Author: Michael Meissner X-Git-Refname: refs/users/meissner/heads/work088 X-Git-Oldrev: 939d7109432662b414fd5e6c29b361d4556ba8b5 X-Git-Newrev: e3e021db3446722a0721d0165018c3648761d7e7 Message-Id: <20220506000829.052D9385803D@sourceware.org> Date: Fri, 6 May 2022 00:08:29 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2022 00:08:29 -0000 https://gcc.gnu.org/g:e3e021db3446722a0721d0165018c3648761d7e7 commit e3e021db3446722a0721d0165018c3648761d7e7 Author: Michael Meissner Date: Thu May 5 20:08:03 2022 -0400 Clear fusion bits for inline tests. 2022-05-05 Michael Meissner gcc/ * config/rs6000/rs6000.cc (rs6000_can_inline_p): Clear the fusion bits when testing for inline function compatibility. Diff: --- gcc/config/rs6000/rs6000.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gcc/config/rs6000/rs6000.cc b/gcc/config/rs6000/rs6000.cc index bc619592b9e..9ea70ca4bf9 100644 --- a/gcc/config/rs6000/rs6000.cc +++ b/gcc/config/rs6000/rs6000.cc @@ -25332,6 +25332,11 @@ rs6000_can_inline_p (tree caller, tree callee) HOST_WIDE_INT callee_isa = callee_opts->x_rs6000_isa_flags; HOST_WIDE_INT explicit_isa = callee_opts->x_rs6000_isa_flags_explicit; + callee_isa &= ~(OPTION_MASK_P8_FUSION + | OPTION_MASK_P10_FUSION); + explicit_isa &= ~(OPTION_MASK_P8_FUSION + | OPTION_MASK_P10_FUSION); + /* If the caller has option attributes, then use them. Otherwise, use the command line options. */ if (caller_tree)