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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [991213-2.c] - Rev 297

Compare with Previous | Blame | View Log

typedef long		__kernel_time_t;
typedef __kernel_time_t		time_t;
time2(
    void (* const  (funcp)(time_t)),
    const long offset, int * const okayp)
{
	register int			bits;
	time_t				t;
	for (bits = 0, t = 1; t > 0; ++bits, t <<= 1)
		;
	t = (t < 0) ? 0 : ((time_t) 1 << bits);
	for ( ; ; ) {
		(*funcp)((time_t)&t);
	}
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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