Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / c-c++-common / hwasan / large-aligned-untagging-2.c
blobebc46482fea2e810462badc8f0b7288a3ec64d63
1 /* { dg-do run } */
2 /* { dg-require-effective-target hwaddress_exec } */
3 /* { dg-shouldfail "hwasan" } */
4 /* { dg-additional-options "--param hwasan-instrument-allocas=0" } */
6 #define ARG 2
7 #include "large-aligned-untagging-0.c"
8 #undef ARG
10 /* { dg-output "HWAddressSanitizer: tag-mismatch on address 0x\[0-9a-f\]*.*" } */
11 /* NOTE: This assumes the current tagging mechanism (one at a time from the
12 base and large aligned variables being handled first). */
13 /* { dg-output "READ of size 4 at 0x\[0-9a-f\]* tags: \[\[:xdigit:\]\]\[\[:xdigit:\]\]/\[\[:xdigit:\]\]\[\[:xdigit:\]\] \\(ptr/mem\\) in thread T0.*" } */
14 /* { dg-output "Address 0x\[0-9a-f\]* is located in stack of thread T0.*" } */
15 /* { dg-output "SUMMARY: HWAddressSanitizer: tag-mismatch \[^\n\]*.*" } */