This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[google] Backport r176293 from gcc-4_6-branch to google/gcc-4_6 (issue4743049)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]