Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/tree-ssa/pr83648-2.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-O2 -fno-delete-null-pointer-checks -fdump-tree-local-pure-const-details" } */ void *g(unsigned n) { return n ? __builtin_malloc (n) : 0; } void *h() { return 0; } /* { dg-final { scan-tree-dump-not "Function found to be malloc: g" "local-pure-const1" } } */ /* { dg-final { scan-tree-dump-not "Function found to be malloc: h" "local-pure-const1" } } */