comparison gcc/testsuite/g++.dg/cet-notrack-1.C @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ 1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-fcf-protection -mcet" } */ 2 /* { dg-options "-fcf-protection" } */
3 /* { dg-final { scan-assembler "endbr32|endbr64" } } */ 3 /* { dg-final { scan-assembler "endbr32|endbr64" } } */
4 /* { dg-final { scan-assembler-times "\tcall\[ \t]+puts" 2 } } */ 4 /* { dg-final { scan-assembler-times "\tcall\[ \t]+puts" 2 } } */
5 /* { dg-final { scan-assembler-times "notrack call\[ \t]+" 1 } } */ 5 /* { dg-final { scan-assembler-times "notrack call\[ \t]+" 1 } } */
6 #include <stdio.h> 6 #include <stdio.h>
7 7