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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr31254.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
 
3
struct timespec
4
{
5
  long tv_sec;
6
  long tv_nsec;
7
};
8
struct inode
9
{
10
  struct timespec i_atime;
11
  struct timespec i_mtime;
12
};
13
struct afs_vnode
14
{
15
  struct inode vfs_inode;
16
};
17
static inline
18
  struct inode *AFS_VNODE_TO_I (struct afs_vnode *vnode)
19
{
20
  return &vnode->vfs_inode;
21
};
22
afs_inode_map_status (struct afs_vnode *vnode)
23
{
24
  struct inode *inode = AFS_VNODE_TO_I (vnode);
25
  inode->i_atime = inode->i_mtime;
26
}

powered by: WebSVN 2.1.0

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