view gcc/testsuite/gcc.c-torture/compile/pr41181.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 1830386684a0
children
line wrap: on
line source

/* { dg-require-effective-target ptr32plus } */
/* { dg-skip-if "The array is too big" { "avr-*-*" "pdp11-*-*" } } */ 
/* { dg-require-stack-size "250*250" } */

char paths[1024];
static void x264_slicetype_path(char (*best_paths)[250], int n, int length)
{
    __builtin_memcpy (best_paths[n], paths, length);
}
void x264_slicetype_analyse(int n, int length)
{
    char best_paths[250][250];
    x264_slicetype_path (best_paths, n, length);
}