aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/builtin-dynamic-alloc-size.c
blob: 9d0eadd6be44379fa0b7c3aa3348b103a1940c30 (plain)
1
2
3
4
5
6
7
/* { dg-do compile }
   { dg-require-effective-target alloca }
   { dg-additional-options "-O2 -fdump-tree-optimized" } */

#define __builtin_object_size __builtin_dynamic_object_size
#include "builtin-alloc-size.c"
/* { dg-final { scan-tree-dump-not "abort" "optimized" } } */