public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: [PATCH arm/embedded-4_7-branch]fix fialure of mtune option
       [not found] <51afea61.6687440a.6fd9.0027SMTPIN_ADDED_BROKEN@mx.google.com>
@ 2013-06-06  1:49 ` Ye Joey
  0 siblings, 0 replies; 2+ messages in thread
From: Ye Joey @ 2013-06-06  1:49 UTC (permalink / raw)
  To: Bin Cheng; +Cc: gcc-patches

OK to embedded-4_7-branch.

Thanks,
Joey

On Thu, Jun 6, 2013 at 9:43 AM, Bin Cheng <bin.cheng@arm.com> wrote:
> Hi,
> This patch fixes failure of command "arm-none-eabi-gcc -O2 -mthumb
> -mtune=cortex-m4 ..." on arm/embedded-4_7-branch by removing the assertion
> in arm_cortex_v7m_branch_cost.
>
> Is it OK?
>
> Thanks.
>
> 2013-06-06  Bin Cheng  <bin.cheng@arm.com>
>
>         * config/arm/arm.c (arm_cortex_v7m_branch_cost): Remove assertion
>         on TARGET_32BIT and TARGET_THUMB2.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH arm/embedded-4_7-branch]fix fialure of mtune option
@ 2013-06-06  1:48 Bin Cheng
  0 siblings, 0 replies; 2+ messages in thread
From: Bin Cheng @ 2013-06-06  1:48 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

Hi,
This patch fixes failure of command "arm-none-eabi-gcc -O2 -mthumb
-mtune=cortex-m4 ..." on arm/embedded-4_7-branch by removing the assertion
in arm_cortex_v7m_branch_cost.

Is it OK?

Thanks.

2013-06-06  Bin Cheng  <bin.cheng@arm.com>

	* config/arm/arm.c (arm_cortex_v7m_branch_cost): Remove assertion
	on TARGET_32BIT and TARGET_THUMB2.

[-- Attachment #2: v7m_branch_cost.txt --]
[-- Type: text/plain, Size: 427 bytes --]

Index: gcc/config/arm/arm.c
===================================================================
--- gcc/config/arm/arm.c	(revision 199680)
+++ gcc/config/arm/arm.c	(working copy)
@@ -8760,8 +8760,6 @@ arm_cortex_a5_branch_cost (bool speed_p, bool pred
 static int
 arm_cortex_v7m_branch_cost (bool speed_p, bool predictable_p ATTRIBUTE_UNUSED)
 {
-  gcc_assert (TARGET_32BIT && TARGET_THUMB2);
-
   return 1;
 }
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-06  1:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <51afea61.6687440a.6fd9.0027SMTPIN_ADDED_BROKEN@mx.google.com>
2013-06-06  1:49 ` [PATCH arm/embedded-4_7-branch]fix fialure of mtune option Ye Joey
2013-06-06  1:48 Bin Cheng

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).