public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [google] Backport r176293 from gcc-4_6-branch to google/gcc-4_6 (issue4743049)
@ 2011-07-19  6:45 Guozhi Wei
  2011-07-19 16:40 ` Diego Novillo
  0 siblings, 1 reply; 2+ messages in thread
From: Guozhi Wei @ 2011-07-19  6:45 UTC (permalink / raw)
  To: reply, dougkwan, gcc-patches

Hi

This patch back ports r176293 from gcc-4_6-branch to google/gcc-4_6 branch.
BB reorder hides the optimization opportunity, so disable it for the test case.

Tested with
make check-gcc RUNTESTFLAGS="--target_board=arm-sim/thumb/arch=armv7-a arm.exp=pr42093.c"

thanks
Carrot


2011-07-19  Guozhi Wei  <carrot@google.com>

	Backport r176293 from gcc-4_6-branch

	2011-07-14  Janis Johnson  <janisjo@codesourcery.com>

		* gcc.target/arm/pr42093.c: Use "-fno-reorder-blocks".

Index: gcc.target/arm/pr42093.c
===================================================================
--- gcc.target/arm/pr42093.c	(revision 176431)
+++ gcc.target/arm/pr42093.c	(working copy)
@@ -1,4 +1,4 @@
-/* { dg-options "-mthumb -O2" }  */
+/* { dg-options "-mthumb -O2 -fno-reorder-blocks" }  */
 /* { dg-require-effective-target arm_thumb2_ok } */
 /* { dg-final { scan-assembler-not "tbb" } } */
 /* { dg-final { scan-assembler-not "tbh" } } */


--
This patch is available for review at http://codereview.appspot.com/4743049

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

* Re: [google] Backport r176293 from gcc-4_6-branch to google/gcc-4_6 (issue4743049)
  2011-07-19  6:45 [google] Backport r176293 from gcc-4_6-branch to google/gcc-4_6 (issue4743049) Guozhi Wei
@ 2011-07-19 16:40 ` Diego Novillo
  0 siblings, 0 replies; 2+ messages in thread
From: Diego Novillo @ 2011-07-19 16:40 UTC (permalink / raw)
  To: Guozhi Wei; +Cc: reply, dougkwan, gcc-patches

On Mon, Jul 18, 2011 at 21:38, Guozhi Wei <carrot@google.com> wrote:

> 2011-07-19  Guozhi Wei  <carrot@google.com>
>
>        Backport r176293 from gcc-4_6-branch
>
>        2011-07-14  Janis Johnson  <janisjo@codesourcery.com>
>
>                * gcc.target/arm/pr42093.c: Use "-fno-reorder-blocks".

This is not needed now.  I committed a merge from gcc-4_6-branch
earlier today (I'm merging from gcc-4_6-branch every couple of weeks).


Diego.

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

end of thread, other threads:[~2011-07-19 16:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-19  6:45 [google] Backport r176293 from gcc-4_6-branch to google/gcc-4_6 (issue4743049) Guozhi Wei
2011-07-19 16:40 ` Diego Novillo

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