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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [guality/] [pr41447-1.c] - Blame information for rev 701

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do run { xfail *-*-* } } */
2
/* { dg-options "-g" } */
3
 
4
#include "guality.h"
5
 
6
int a;
7
 
8
int
9
main (int argc, char *argv[])
10
{
11
  int tmp = a;
12
  int tmp2 = a;
13
  int tmp3;
14
  int res;
15
  GUALCHKVAL (a);
16
  GUALCHKVAL (tmp);
17
  GUALCHKVAL (tmp2);
18
  a = 0;
19
  tmp3 = tmp2;
20
  GUALCHKVAL (a);
21
  GUALCHKVAL (tmp);
22
  GUALCHKVAL (tmp2);
23
  GUALCHKVAL (tmp3);
24
  res = tmp - tmp2 + 1;
25
  return res;
26
}

powered by: WebSVN 2.1.0

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