flatten-1.c: Use longer function names for matching of asm labels.
2005-07-25 Richard Guenther <rguenther@gcc.gnu.org> * gcc.dg/tree-ssa/flatten-1.c: Use longer function names for matching of asm labels. From-SVN: r102361
This commit is contained in:
parent
e53e4e9324
commit
aa18debd7a
@ -1,3 +1,8 @@
|
||||
2005-07-25 Richard Guenther <rguenther@gcc.gnu.org>
|
||||
|
||||
* gcc.dg/tree-ssa/flatten-1.c: Use longer function names
|
||||
for matching of asm labels.
|
||||
|
||||
2005-07-25 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
* gcc.dg/tree-ssa/20050719-1.c: Add return 0;.
|
||||
|
@ -36,22 +36,20 @@ static int bar(int i)
|
||||
}
|
||||
|
||||
|
||||
static int g(int i)
|
||||
static int gloobar(int i)
|
||||
{
|
||||
return i*5+1;
|
||||
}
|
||||
static int f(int i)
|
||||
static int floobar(int i)
|
||||
{
|
||||
return g(i);
|
||||
return gloobar(i);
|
||||
}
|
||||
int __attribute__((flatten)) leaf3(int i)
|
||||
{
|
||||
int j;
|
||||
j = f(i);
|
||||
j += f(i);
|
||||
j = floobar(i);
|
||||
j += floobar(i);
|
||||
return j;
|
||||
}
|
||||
|
||||
/* { dg-final { scan-assembler-not "g\[: \t\n\]" } } */
|
||||
/* { dg-final { scan-assembler-not "f\[: \t\n\]" } } */
|
||||
/* { dg-final { scan-assembler-not "bar\[: \t\n\]" } } */
|
||||
|
Loading…
Reference in New Issue
Block a user