From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id C420D3858022; Fri, 23 Dec 2022 07:31:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C420D3858022 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671780697; bh=T80yMLxOaXofvkACOq+NHIF1Gcq05br3WNShsKyg6WU=; h=From:To:Subject:Date:From; b=vyg0wCltniTUb9kEPpIJahNECD/ncEPTF4j+4Yj/KA+UM2EKjAzV+Y3HT+SZg8jYl miibHLYF+ED2RVLDvpLgWBml4UA6R2VC1Me8SH4NT9Zc91GDmcNt1s9ha/nEIjDSsl eOOkoUOL9d6VBWqn81XBwF2yqul8WrCL1zTE2U6Q= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Alexandre Oliva To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/aoliva/heads/testme)] postreload-gcse: no insert on mere lookup X-Act-Checkin: gcc X-Git-Author: Alexandre Oliva X-Git-Refname: refs/users/aoliva/heads/testme X-Git-Oldrev: 2b2620f36a1400d50ad70823c4822e532cf2c0cf X-Git-Newrev: 9be401b9194ebbd5d6b763adcf9f3e74a0e0b36f Message-Id: <20221223073137.C420D3858022@sourceware.org> Date: Fri, 23 Dec 2022 07:31:37 +0000 (GMT) List-Id: https://gcc.gnu.org/g:9be401b9194ebbd5d6b763adcf9f3e74a0e0b36f commit 9be401b9194ebbd5d6b763adcf9f3e74a0e0b36f Author: Alexandre Oliva Date: Fri Dec 23 00:35:58 2022 -0300 postreload-gcse: no insert on mere lookup Diff: --- gcc/postreload-gcse.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/postreload-gcse.cc b/gcc/postreload-gcse.cc index 1c795b43ca3..2818f54dedd 100644 --- a/gcc/postreload-gcse.cc +++ b/gcc/postreload-gcse.cc @@ -447,7 +447,7 @@ lookup_expr_in_table (rtx pat) tmp_expr->hash = hash; tmp_expr->avail_occr = NULL; - slot = expr_table->find_slot_with_hash (tmp_expr, hash, INSERT); + slot = expr_table->find_slot_with_hash (tmp_expr, hash, NO_INSERT); obstack_free (&expr_obstack, tmp_expr); if (!slot)