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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr43971.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-Os -fno-delete-null-pointer-checks" } */
3
 
4
union ktime {
5
    long tv64;
6
};
7
typedef union ktime ktime_t;
8
ktime_t
9
do_one_initcall(ktime_t rettime, ktime_t calltime)
10
{
11
    ktime_t delta;
12
    delta = ({ (ktime_t){ .tv64 = (rettime).tv64 - (calltime).tv64 }; });
13
    return delta;
14
}

powered by: WebSVN 2.1.0

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