From: Thomas Preud'homme Date: Mon, 11 May 2015 10:45:25 +0000 (+0000) Subject: pr64616.c: Test dump rather than assembly to work accross ARM targets. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=95cfc3357d1101733114f33445d2073c5397e60c;p=gcc.git pr64616.c: Test dump rather than assembly to work accross ARM targets. 2015-05-11 Thomas Preud'homme gcc/ * gcc.target/arm/pr64616.c: Test dump rather than assembly to work accross ARM targets. From-SVN: r223001 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7d9f2bbf2c1..0d78db9bcaa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-05-11 Thomas Preud'homme + + * gcc.target/arm/pr64616.c: Test dump rather than assembly to work + accross ARM targets. + 2015-05-11 Christian Bruel * config/arm/arm-protos.h (thumb_code, thumb1_code): Remove. diff --git a/gcc/testsuite/gcc.target/arm/pr64616.c b/gcc/testsuite/gcc.target/arm/pr64616.c index c686ffa8dd3..2280f21adb1 100644 --- a/gcc/testsuite/gcc.target/arm/pr64616.c +++ b/gcc/testsuite/gcc.target/arm/pr64616.c @@ -1,5 +1,5 @@ /* { 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" } } */