Commit e732ca6c by Thomas Preud'homme Committed by Thomas Preud'homme

thumb2-slow-flash-data.c: Add missing typespec for labelref and check use of…

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
parent a42062b1
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
......
......@@ -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+\[^.\]" } } */
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