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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [pr30744-1.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
 
4
typedef struct {
5
  unsigned long unique;
6
} G;
7
 
8
void r(G* n)
9
{
10
  unsigned long p;
11
  if (((G *) ((void *)((~(unsigned long)(p))))) != ((void *)0)) {
12
    ((G *) ((void *)((~(unsigned long)(p)))))->unique = n->unique;
13
  }
14
}
15
 

powered by: WebSVN 2.1.0

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