Commit 95cfc335 by Thomas Preud'homme Committed by Thomas Preud'homme

pr64616.c: Test dump rather than assembly to work accross ARM targets.

2015-05-11  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    * gcc.target/arm/pr64616.c: Test dump rather than assembly to work
    accross ARM targets.

From-SVN: r223001
parent 625ffab6
2015-05-11 Thomas Preud'homme <thomas.preudhomme@arm.com>
* gcc.target/arm/pr64616.c: Test dump rather than assembly to work
accross ARM targets.
2015-05-11 Christian Bruel <christian.bruel@st.com>
* config/arm/arm-protos.h (thumb_code, thumb1_code): Remove.
......
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-options "-O2 -fdump-rtl-cprop2" } */
int f (int);
unsigned int glob;
......@@ -11,4 +11,5 @@ g ()
glob = 5;
}
/* { dg-final { scan-assembler-times "ldr" 2 } } */
/* { dg-final { scan-rtl-dump "GLOBAL COPY-PROP" "cprop2" } } */
/* { dg-final { cleanup-rtl-dump "cprop2" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment