URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [Wframe-larger-than.c] - Rev 801
Go to most recent revision | 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" } */
Go to most recent revision | Compare with Previous | Blame | View Log