]>
gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/20040517-1.c
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-ssa-vops" } */
5 extern void __attribute__ ((malloc
)) *foo ();
15 /* We used to treat malloc functions like pure and const functions, but
16 malloc functions may clobber global memory. Only the function result
17 does not alias any other pointer.
18 Hence, we must have a VDEF for a before and after the call to foo(). */
19 /* { dg-final { scan-tree-dump-times "V_MAY_DEF" 1 "ssa"} } */
This page took 0.036624 seconds and 5 git commands to generate.