From: thopre01 Date: Mon, 9 Nov 2015 10:29:06 +0000 (+0000) Subject: 2015-11-09 Thomas Preud'homme X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf82e1d03c985cb739e53b55945651ba776f2bc1;p=thirdparty%2Fgcc.git 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230010 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bcca4791eeb7..4cd50cdef135 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 9852ea5d0bde..089a72b67f3a 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+\[^.\]" } } */