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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [avr/] [torture/] [pr39633.c] - Blame information for rev 691

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do run } */
2
 
3
#include <stdlib.h>
4
 
5
char c = 42;
6
 
7
void __attribute__((noinline,noclone))
8
pr39633 (char a)
9
{
10
  a >>= 7;
11
  if (a)
12
    c = a;
13
}
14
 
15
int main()
16
{
17
  pr39633 (6);
18
 
19
  if (c != 42)
20
    abort();
21
 
22
  exit(0);
23
 
24
  return 0;
25
}

powered by: WebSVN 2.1.0

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