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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [930510-1.c] - Rev 816

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

typedef long time_t;
static __const int mon_lengths[2][12] = {
  31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31,
  31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31
};
static time_t
f (janfirst, year, rulep, offset)
     __const time_t janfirst;
     __const int year;
     register __const struct rule * __const rulep;
     __const long offset;
{
  register int leapyear;
  register time_t value;
  register int i;
 
  value += mon_lengths[leapyear][i] * ((long) (60 * 60) * 24);
}
 

Go to most recent revision | 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.