| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O2 -fdump-tree-early_objsz-details" } */ |
| 3 |
// { dg-skip-if "packed attribute missing for drone_source_packet" { "epiphany-*-*" } } |
| 4 |
|
| 5 |
#define __builtin_object_size __builtin_dynamic_object_size |
| 6 |
#include "builtin-object-size-10.c" |
| 7 |
|
| 8 |
/* early_objsz should resolve __builtin_dynamic_object_size like |
| 9 |
__builtin_object_size. */ |
| 10 |
/* { dg-final { scan-tree-dump "maximum object size 21" "early_objsz" } } */ |
| 11 |
/* { dg-final { scan-tree-dump "maximum subobject size 16" "early_objsz" } } */ |