aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorThomas Preud'homme <thomas.preudhomme@arm.com>2015-11-09 10:29:06 +0000
committerThomas Preud'homme <thopre01@gcc.gnu.org>2015-11-09 10:29:06 +0000
commite732ca6c9d6ad9dff9db64921ac0e5f50ea57e76 (patch)
treea9eeb55caec15416c85d7220e06de41baea03e5b /gcc
parenta42062b176417a41d33e72710a80a3be707845ba (diff)
downloadgcc-e732ca6c9d6ad9dff9db64921ac0e5f50ea57e76.zip
gcc-e732ca6c9d6ad9dff9db64921ac0e5f50ea57e76.tar.gz
gcc-e732ca6c9d6ad9dff9db64921ac0e5f50ea57e76.tar.bz2
thumb2-slow-flash-data.c: Add missing typespec for labelref and check use of constant pool by looking for...
2015-11-09 Thomas Preud'homme <thomas.preudhomme@arm.com> gcc/ * gcc.target/arm/thumb2-slow-flash-data.c: Add missing typespec for labelref and check use of constant pool by looking for .word and similar directives. From-SVN: r230010
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.target/arm/thumb2-slow-flash-data.c5
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index bcca479..4cd50cd 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2015-11-09 Thomas Preud'homme <thomas.preudhomme@arm.com>
+
+ * gcc.target/arm/thumb2-slow-flash-data.c: Add missing typespec for
+ labelref and check use of constant pool by looking for .word and
+ similar directives.
+
2015-11-09 Igor Zamyatin <igor.zamyatin@intel.com>
PR target/66326
diff --git a/gcc/testsuite/gcc.target/arm/thumb2-slow-flash-data.c b/gcc/testsuite/gcc.target/arm/thumb2-slow-flash-data.c
index 9852ea5..089a72b 100644
--- a/gcc/testsuite/gcc.target/arm/thumb2-slow-flash-data.c
+++ b/gcc/testsuite/gcc.target/arm/thumb2-slow-flash-data.c
@@ -50,7 +50,7 @@ int
foo (int a, int b)
{
int i;
- volatile *labelref = &&label1;
+ volatile int *labelref = &&label1;
if (a > b)
{
@@ -70,5 +70,4 @@ label1:
return a + b;
}
-/* { dg-final { scan-assembler-times "movt" 13 } } */
-/* { dg-final { scan-assembler-times "movt.*LC0\\+4" 1 } } */
+/* { dg-final { scan-assembler-not "\\.(float|l\\?double|\d?byte|short|int|long|quad|word)\\s+\[^.\]" } } */