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] - Blame information for rev 774

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-lto-do link } */
2
/* { dg-lto-options {{-O -flto -funsigned-char} {-O -flto -fsigned-char}} } */
3
 
4
char p[32] = "";
5
int main ()
6
{
7
  if (__builtin___strcpy_chk (p + 1, "vwxyz",
8
                              __builtin_object_size (p + 1, 0)) != p + 1)
9
    __builtin_abort ();
10
  return 0;
11
}
12
 

powered by: WebSVN 2.1.0

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