* Fix typo in ira-costs.c
@ 2015-02-27 22:29 Kugan
2015-02-28 1:06 ` Vladimir Makarov
0 siblings, 1 reply; 2+ messages in thread
From: Kugan @ 2015-02-27 22:29 UTC (permalink / raw)
To: gcc-patches, vmakarov
[-- Attachment #1: Type: text/plain, Size: 299 bytes --]
Looks like a typo to me. Bootstrapped and regression tested on
x86_64-unknown-linux-gnu with no new regressions.
Is this OK for stage1?
Thanks,
Kugan
gcc/ChangeLog:
2015-02-28 Kugan Vivekanandarajah <kuganv@linaro.org>
* ira-costs.c (record_operand_costs): Fix typo (remove redundant code).
[-- Attachment #2: t1.txt --]
[-- Type: text/plain, Size: 464 bytes --]
diff --git a/gcc/ira-costs.c b/gcc/ira-costs.c
index c19f258..1ca156e 100644
--- a/gcc/ira-costs.c
+++ b/gcc/ira-costs.c
@@ -1387,8 +1387,6 @@ record_operand_costs (rtx_insn *insn, enum reg_class *pref)
rtx dest = SET_DEST (set);
rtx src = SET_SRC (set);
- dest = SET_DEST (set);
- src = SET_SRC (set);
if (GET_CODE (dest) == SUBREG
&& (GET_MODE_SIZE (GET_MODE (dest))
== GET_MODE_SIZE (GET_MODE (SUBREG_REG (dest)))))
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fix typo in ira-costs.c
2015-02-27 22:29 Fix typo in ira-costs.c Kugan
@ 2015-02-28 1:06 ` Vladimir Makarov
0 siblings, 0 replies; 2+ messages in thread
From: Vladimir Makarov @ 2015-02-28 1:06 UTC (permalink / raw)
To: Kugan, gcc-patches
On 2015-02-27 4:52 PM, Kugan wrote:
> Looks like a typo to me. Bootstrapped and regression tested on
> x86_64-unknown-linux-gnu with no new regressions.
>
> Is this OK for stage1?
>
>
Yes, Kugan. Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-27 23:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-27 22:29 Fix typo in ira-costs.c Kugan
2015-02-28 1:06 ` Vladimir Makarov
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).