URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [Wframe-larger-than.c] - Rev 298
Compare with Previous | Blame | View Log
/* Test -Wframe-larger-than for warning when the frame size is bigger than specified. Origin: Seongbae Park <seongbae.park@gmail.com> */ /* { dg-do compile } */ /* { dg-options "-Wframe-larger-than=2048" } */ extern void func(char *); void foo (void) { char array[4096]; func(array); } /* { dg-warning "the frame size of .* bytes is larger than 2048 bytes" } */