From e732ca6c9d6ad9dff9db64921ac0e5f50ea57e76 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Mon, 9 Nov 2015 10:29:06 +0000 Subject: [PATCH] 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 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 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.target/arm/thumb2-slow-flash-data.c | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bcca4791eeb..4cd50cdef13 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2015-11-09 Thomas Preud'homme + + * 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 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 9852ea5d0bd..089a72b67f3 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+\[^.\]" } } */ -- 2.30.2