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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20010518-2.c] - Blame information for rev 688

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
/* { dg-do compile } */
2
 
3
/* Large static storage.  */
4
 
5
#include <limits.h>
6
 
7
static volatile char chars_1[INT_MAX / 2];
8
static volatile char chars_2[1];
9
 
10
int
11
foo (void)
12
{
13
  chars_1[10] = 'y';
14
  chars_2[0] = 'x';
15
}

powered by: WebSVN 2.1.0

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