Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / c-c++-common / hwasan / large-aligned-untagging-5.c
blob7c4cb5cb218067beb7a37361c36b10f1674b2234
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 1
7 #define ALIGNMENT __attribute__ ((aligned (32)))
8 #include "large-aligned-untagging-0.c"
9 #undef ARG
11 /* { dg-output "HWAddressSanitizer: tag-mismatch on address 0x\[0-9a-f\]*.*" } */
12 /* NOTE: This assumes the current tagging mechanism (one at a time from the
13 base and large aligned variables being handled first). */
14 /* { dg-output "READ of size 4 at 0x\[0-9a-f\]* tags: \[\[:xdigit:\]\]\[\[:xdigit:\]\]/\[\[:xdigit:\]\]\[\[:xdigit:\]\] \\(ptr/mem\\) in thread T0.*" } */
15 /* { dg-output "Address 0x\[0-9a-f\]* is located in stack of thread T0.*" } */
16 /* { dg-output "SUMMARY: HWAddressSanitizer: tag-mismatch \[^\n\]*.*" } */