public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-527] [Ada] Remove superfluous call to Original_Node Date: Tue, 17 May 2022 08:27:58 +0000 (GMT) [thread overview] Message-ID: <20220517082758.0FAB2385742A@sourceware.org> (raw) https://gcc.gnu.org/g:87a655842470b3f764f6809206d1236227c315d3 commit r13-527-g87a655842470b3f764f6809206d1236227c315d3 Author: Etienne Servais <servais@adacore.com> Date: Thu Feb 17 11:40:46 2022 +0100 [Ada] Remove superfluous call to Original_Node The function Same_Object starts by taking the Original_Node of its arguments. gcc/ada/ * sem_ch5.adb (Analyze_Assignment): Remove superfluous call to Original_Node. Diff: --- gcc/ada/sem_ch5.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/ada/sem_ch5.adb b/gcc/ada/sem_ch5.adb index 7fd5ab304f1..633e5c7e543 100644 --- a/gcc/ada/sem_ch5.adb +++ b/gcc/ada/sem_ch5.adb @@ -1111,7 +1111,7 @@ package body Sem_Ch5 is -- Where the object is the same on both sides - and then Same_Object (Lhs, Original_Node (Rhs)) + and then Same_Object (Lhs, Rhs) -- But exclude the case where the right side was an operation that -- got rewritten (e.g. JUNK + K, where K was known to be zero). We
reply other threads:[~2022-05-17 8:27 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220517082758.0FAB2385742A@sourceware.org \ --to=pmderodat@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).