[PATCH][ARM] Add break in handling of comparisons in rtx costs function

Kyrill Tkachov kyrylo.tkachov@arm.com
Fri Nov 8 14:06:00 GMT 2013


Hi all,

In arm_new_rtx_costs we need a break; statement after handling the comparisons 
cases. Otherwise we fall through and compute garbage. This small patch adds that.

Tested arm-none-eabi on qemu.

Ok for trunk?

Thanks,
Kyrill


2013-11-08  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

     * config/arm/arm.c (arm_new_rtx_costs): Break after handling
     comparisons.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-break-costs.patch
Type: text/x-patch
Size: 371 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20131108/c78c1e39/attachment.bin>


More information about the Gcc-patches mailing list