This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [PATCH, AArch64] Fix typo
- From: Evandro Menezes <e dot menezes at samsung dot com>
- To: 'James Greenhalgh' <james dot greenhalgh at arm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, 'James Greenhalgh' <jgreenhalgh at gcc dot gnu dot org>, richard dot earnshaw at arm dot com, marcus dot shawcroft at arm dot com
- Date: Mon, 18 Aug 2014 10:01:55 -0500
- Subject: RE: [PATCH, AArch64] Fix typo
- Authentication-results: sourceware.org; auth=none
- References: <010d01cfb8a5$75436760$5fca3620$ at samsung dot com> <20140815163611 dot GA31178 at arm dot com>
Ping.
--
Evandro Menezes Austin, USA
e.menezes@samsung.com +1-512-425-3365
-----Original Message-----
From: Evandro Menezes [mailto:e.menezes@samsung.com]
Sent: Friday, August 15, 2014 14:55
To: 'James Greenhalgh'
Cc: 'gcc-patches@gcc.gnu.org'; 'James Greenhalgh';
'richard.earnshaw@arm.com'; 'marcus.shawcroft@arm.com'
Subject: RE: [PATCH, AArch64] Fix typo
Thanks for the review.
--
Evandro Menezes Austin, USA
e.menezes@samsung.com +1-512-425-3365
-----Original Message-----
From: gcc-patches-owner@gcc.gnu.org [mailto:gcc-patches-owner@gcc.gnu.org]
On Behalf Of James Greenhalgh
Sent: Friday, August 15, 2014 11:36
To: Evandro Menezes
Cc: gcc-patches@gcc.gnu.org; 'James Greenhalgh'; richard.earnshaw@arm.com;
marcus.shawcroft@arm.com
Subject: Re: [PATCH, AArch64] Fix typo
On Fri, Aug 15, 2014 at 05:24:58PM +0100, Evandro Menezes wrote:
> I tripped at a typo that goes undetected because the macro NAMED_PARAM
> doesn't apply in the absence of designated initializers.
>
> Since struct scale_addr_mode_cost has the cost for DI, but not for QI,
> the instances of struct cpu_addrcost_table are not initialized as
> intended due to the different order of the structure members.
Thanks for spotting and fixing this.
The ChangeLog entry should be added to gcc/ChangeLog, and should look like
this:
2014-08-14 Evandro Menezes <e.menezes@samsung.com>
* config/aarch64/aarch64.c (generic_addrcost_table): Initialize
elements in the correct order.
(cortexa57_addrcost_table): Likewise.
My fixes were:
* Two spaces between your name and email address.
* Name the structure/function/thing changed.
* Set the path relative to the ChangeLog being modified.
Otherwise, this patch looks correct to me. However, you will need approval
from an AArch64 port maintainer (For AArch64 this is Richard Earnshaw or
Marcus Shawcroft - both added to CC).
Thanks,
James