OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [const-high-part.c] - Rev 297

Go to most recent revision | Compare with Previous | Blame | View Log

/* { dg-require-effective-target int32plus } */
/* { dg-require-effective-target size32plus } */
 
char *buf;
int buflen;
 
inline int
sub (int length)
{
  if (length <= buflen)
    buf[length] = '\0';
  return 0;
}
 
int
sub2 (void)
{
  return sub (0x7fffffff);
}
 

Go to most recent revision | 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.