OpenCores
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 689

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" } */
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.