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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [const-high-part.c] - Rev 688

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);
}
 

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.