Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/c-c++-common/asan/pr88291.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
1 /* PR sanitizer/88291 */ | |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-fsanitize=address -Os" } */ | |
4 /* { dg-additional-options "-mstringop-strategy=libcall" { target i?86-*-* x86_64-*-* } } */ | |
5 | |
6 void bar (void *, void *); | |
7 | |
8 void | |
9 foo (void) | |
10 { | |
11 int b; | |
12 char __attribute__((aligned(16))) a[(1 << 20) + 1]; | |
13 bar (&a, &b); | |
14 } |