comparison gcc/testsuite/c-c++-common/asan/pr89124.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/89124 */
2 /* { dg-do compile } */
3
4 static int inline __attribute__ ((always_inline))
5 foo (int x)
6 {
7 return x + 1;
8 }
9
10 __attribute__ ((no_sanitize_address)) int
11 bar (int x)
12 {
13 return foo (x);
14 }