Check in gcc/testsuite/gcc.target/powerpc/ssp-[12].c (I forgot "svn add"

once again).

From-SVN: r244562
This commit is contained in:
Segher Boessenkool 2017-01-18 02:05:50 +01:00
parent ac4dc08d72
commit 4cc0208ac8
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O2 -fstack-protector-all -mstack-protector-guard=global" } */
/* { dg-final { scan-assembler "__stack_chk_guard" } } */
void f(void) { }

View File

@ -0,0 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O2 -fstack-protector-all -mstack-protector-guard=tls -mstack-protector-guard-reg=r18 -mstack-protector-guard-offset=0x3038" } */
/* { dg-final { scan-assembler {\m12344\(r?18\)} } } */
void f(void) { }