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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [lto/] [20100103-2_0.c] - Rev 774

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

/* { dg-lto-do link } */
/* { dg-lto-options {{-O -flto -funsigned-char} {-O -flto -fsigned-char}} } */
 
char p[32] = "";
int main ()
{
  if (__builtin___strcpy_chk (p + 1, "vwxyz",
			      __builtin_object_size (p + 1, 0)) != p + 1)
    __builtin_abort ();
  return 0;
} 
 
 

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.