1 /* PR middle-end/80020 - gcc confused about aligned_alloc argument order
3 { dg-options "-O2 -Wall -fdump-tree-optimized" } */
14 void *p
= __builtin_aligned_alloc (Align
, Size
);
15 unsigned n
= __builtin_object_size (p
, 0);
20 __builtin___memset_chk (p
, 0, Size
, n
);
25 /* { dg-final { scan-tree-dump-not "abort" "optimized" } }
26 { dg-final { scan-tree-dump-not "memset_chk" "optimized" } } */