mirror of git://gcc.gnu.org/git/gcc.git
Really add the test this time...
testsuite/ * gcc.target/aarch64/test_frame_17.c: New test. From-SVN: r241421
This commit is contained in:
parent
5be6b295d0
commit
c82bc7edda
|
|
@ -2,6 +2,10 @@
|
||||||
|
|
||||||
* gcc.target/aarch64/test_frame_17.c: New test.
|
* gcc.target/aarch64/test_frame_17.c: New test.
|
||||||
|
|
||||||
|
2016-10-21 Wilco Dijkstra <wdijkstr@arm.com>
|
||||||
|
|
||||||
|
* gcc.target/aarch64/test_frame_17.c: New test.
|
||||||
|
|
||||||
2016-10-21 Andris Pavenis <andris.pavenis@iki.fi>
|
2016-10-21 Andris Pavenis <andris.pavenis@iki.fi>
|
||||||
|
|
||||||
PR preprocessor/71681
|
PR preprocessor/71681
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,21 @@
|
||||||
|
/* { dg-do compile } */
|
||||||
|
/* { dg-options "-O2 --save-temps" } */
|
||||||
|
|
||||||
|
/* Test reuse of stack adjustment temporaries. */
|
||||||
|
|
||||||
|
void foo ();
|
||||||
|
|
||||||
|
int reuse_mov (int i)
|
||||||
|
{
|
||||||
|
int arr[1025];
|
||||||
|
return arr[i];
|
||||||
|
}
|
||||||
|
|
||||||
|
int no_reuse_mov (int i)
|
||||||
|
{
|
||||||
|
int arr[1025];
|
||||||
|
foo ();
|
||||||
|
return arr[i];
|
||||||
|
}
|
||||||
|
|
||||||
|
/* { dg-final { scan-assembler-times "mov\tx16, \[0-9\]+" 3 } } */
|
||||||
Loading…
Reference in New Issue