Mercurial > hg > CbC > GCC_original
annotate gcc/testsuite/c-c++-common/pr27336.c @ 19:2b5abeee2509 default tip
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 1830386684a0 |
children |
rev | line source |
---|---|
16 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-O2 -fdelete-null-pointer-checks -fdump-tree-vrp1" } */ | |
18 | 3 /* { dg-skip-if "" { keeps_null_pointer_checks } } */ |
16 | 4 |
5 struct B { int x; }; | |
6 extern void g3(struct B *that) __attribute__((nonnull)); | |
7 int f3(struct B *a) | |
8 { | |
9 g3(a); | |
10 return a != (void *)0; | |
11 } | |
12 | |
13 /* { dg-final { scan-tree-dump "return 1;" "vrp1" } } */ |