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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [pr38616.c] - Blame information for rev 316

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

Line No. Rev Author Line
1 298 jeremybenn
/* PR middle-end/38616 */
2
/* { dg-do run } */
3
/* { dg-options "-O2 -fstack-protector" } */
4
/* { dg-require-effective-target fstack_protector } */
5
 
6
#include <stdio.h> 
7
 
8
#define BUFFER "1234567890abcdefghijklmno"
9
int main (void)
10
{
11
  char buffer[1024]="";
12
  sprintf (buffer, "%s", BUFFER);
13
  return strcmp (buffer, BUFFER);
14
}

powered by: WebSVN 2.1.0

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