gcc/testsuite/c-c++-common/hwasan/param-instrument-mem-intrinsics.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */ |
| 3 | /* { dg-additional-options "--param hwasan-instrument-mem-intrinsics=0" } */ |
| 4 | |
| 5 | #include "builtin-special-handling.c" |
| 6 | |
| 7 | /* With this flag there should be no checking of builtins. |
| 8 | The above file only has builtins, and hence there should be no checking |
| 9 | after compilation. */ |
| 10 | /* { dg-final { scan-assembler-not "__hwasan_(load|store)" } } */ |